Index: chrome/browser/ui/startup/default_browser_infobar_delegate.cc |
diff --git a/chrome/browser/ui/startup/default_browser_infobar_delegate.cc b/chrome/browser/ui/startup/default_browser_infobar_delegate.cc |
index c19f0f54b9002e86287d3c765e2901182067b62d..b626427555fbd6097c394fa1e699518776d5b1db 100644 |
--- a/chrome/browser/ui/startup/default_browser_infobar_delegate.cc |
+++ b/chrome/browser/ui/startup/default_browser_infobar_delegate.cc |
@@ -35,8 +35,9 @@ DefaultBrowserInfoBarDelegate::DefaultBrowserInfoBarDelegate(Profile* profile) |
// We want the info-bar to stick-around for few seconds and then be hidden |
// on the next navigation after that. |
base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( |
- FROM_HERE, base::Bind(&DefaultBrowserInfoBarDelegate::AllowExpiry, |
- weak_factory_.GetWeakPtr()), |
+ FROM_HERE, |
+ base::BindOnce(&DefaultBrowserInfoBarDelegate::AllowExpiry, |
+ weak_factory_.GetWeakPtr()), |
base::TimeDelta::FromSeconds(8)); |
} |