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

Unified Diff: chrome/browser/ui/prefs/prefs_tab_helper.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
Index: chrome/browser/ui/prefs/prefs_tab_helper.cc
diff --git a/chrome/browser/ui/prefs/prefs_tab_helper.cc b/chrome/browser/ui/prefs/prefs_tab_helper.cc
index a46d4496afa7ff1cb75a00df209d251847181a1b..43f262ccd208621b23f02cfdf8db475c3d2770d5 100644
--- a/chrome/browser/ui/prefs/prefs_tab_helper.cc
+++ b/chrome/browser/ui/prefs/prefs_tab_helper.cc
@@ -674,8 +674,8 @@ void PrefsTabHelper::OnWebPrefChanged(const std::string& pref_name) {
// give other observers (particularly the FontFamilyCache) a chance to react
// to the pref change.
base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE, base::Bind(&PrefsTabHelper::NotifyWebkitPreferencesChanged,
- weak_ptr_factory_.GetWeakPtr(), pref_name));
+ FROM_HERE, base::BindOnce(&PrefsTabHelper::NotifyWebkitPreferencesChanged,
+ weak_ptr_factory_.GetWeakPtr(), pref_name));
}
void PrefsTabHelper::NotifyWebkitPreferencesChanged(
« no previous file with comments | « chrome/browser/ui/login/login_handler.cc ('k') | chrome/browser/ui/search/new_tab_page_interceptor_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698