Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2146)

Unified Diff: chrome/browser/ui/apps/chrome_app_delegate.cc

Issue 2824363002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/ui (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/card_unmask_prompt_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/apps/chrome_app_delegate.cc
diff --git a/chrome/browser/ui/apps/chrome_app_delegate.cc b/chrome/browser/ui/apps/chrome_app_delegate.cc
index 97b75f82a35fa18cfc9a1f248c5a7745aa14f414..b29ae8a593547919ddbdbb0ebdee5e62b6787da4 100644
--- a/chrome/browser/ui/apps/chrome_app_delegate.cc
+++ b/chrome/browser/ui/apps/chrome_app_delegate.cc
@@ -336,8 +336,8 @@ void ChromeAppDelegate::OnHide() {
// the window.
content::BrowserThread::PostDelayedTask(
content::BrowserThread::UI, FROM_HERE,
- base::Bind(&ChromeAppDelegate::RelinquishKeepAliveAfterTimeout,
- weak_factory_.GetWeakPtr()),
+ base::BindOnce(&ChromeAppDelegate::RelinquishKeepAliveAfterTimeout,
+ weak_factory_.GetWeakPtr()),
base::TimeDelta::FromSeconds(kAppWindowFirstShowTimeoutSeconds));
}
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/card_unmask_prompt_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698