Index: chrome/browser/ui/browser_init.cc |
diff --git a/chrome/browser/ui/browser_init.cc b/chrome/browser/ui/browser_init.cc |
index 123b07ee9c06fa00fb87e1d36e2966045f53f0c0..364b070328bd1467ebc8325a3d37e9b1d894f669 100644 |
--- a/chrome/browser/ui/browser_init.cc |
+++ b/chrome/browser/ui/browser_init.cc |
@@ -333,8 +333,7 @@ bool DefaultBrowserInfoBarDelegate::Accept() { |
BrowserThread::PostTask( |
BrowserThread::FILE, |
FROM_HERE, |
- base::IgnoreReturn<bool>( |
- base::Bind(&ShellIntegration::SetAsDefaultBrowser))); |
+ base::Bind(base::IgnoreResult(&ShellIntegration::SetAsDefaultBrowser))); |
return true; |
} |
@@ -1449,16 +1448,16 @@ void BrowserInit::LaunchWithProfile::CheckDefaultBrowser(Profile* profile) { |
prefs::kDefaultBrowserSettingEnabled)) { |
BrowserThread::PostTask( |
BrowserThread::FILE, FROM_HERE, |
- base::IgnoreReturn<bool>( |
- base::Bind(&ShellIntegration::SetAsDefaultBrowser))); |
+ base::Bind( |
+ base::IgnoreResult(&ShellIntegration::SetAsDefaultBrowser))); |
} else { |
// TODO(pastarmovj): We can't really do anything meaningful here yet but |
// just prevent showing the infobar. |
} |
return; |
} |
- BrowserThread::PostTask( |
- BrowserThread::FILE, FROM_HERE, base::Bind(&CheckDefaultBrowserCallback)); |
+ BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, |
+ base::Bind(&CheckDefaultBrowserCallback)); |
} |
bool BrowserInit::LaunchWithProfile::CheckIfAutoLaunched(Profile* profile) { |