Index: chrome/browser/ui/startup/startup_browser_creator.cc |
diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc |
index c5491bc439d7dfa486730411815d7afb9d4969aa..8f7a959262d872e974430d1a1f886b96ad1739ee 100644 |
--- a/chrome/browser/ui/startup/startup_browser_creator.cc |
+++ b/chrome/browser/ui/startup/startup_browser_creator.cc |
@@ -203,8 +203,8 @@ class ProfileLaunchObserver : public content::NotificationObserver { |
// open and activate before trying to activate |profile_to_activate_|. |
BrowserThread::PostTask( |
BrowserThread::UI, FROM_HERE, |
- base::Bind(&ProfileLaunchObserver::ActivateProfile, |
- base::Unretained(this))); |
+ base::BindOnce(&ProfileLaunchObserver::ActivateProfile, |
+ base::Unretained(this))); |
// Avoid posting more than once before ActivateProfile gets called. |
registrar_.Remove(this, chrome::NOTIFICATION_BROWSER_WINDOW_READY, |
content::NotificationService::AllSources()); |
@@ -688,7 +688,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl( |
.MayBlock() |
.WithPriority(base::TaskPriority::BACKGROUND) |
.WithShutdownBehavior(base::TaskShutdownBehavior::BLOCK_SHUTDOWN), |
- base::Bind(&DumpBrowserHistograms, output_file)); |
+ base::BindOnce(&DumpBrowserHistograms, output_file)); |
} |
silent_launch = true; |
} |