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

Unified Diff: chrome/browser/ui/webui/theme_source.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/webui/theme_source.cc
diff --git a/chrome/browser/ui/webui/theme_source.cc b/chrome/browser/ui/webui/theme_source.cc
index 92b7601539500b3bf7a961f1f6669233cc51545a..a0c050214caabf5d9badef66b84c1811d3f52579 100644
--- a/chrome/browser/ui/webui/theme_source.cc
+++ b/chrome/browser/ui/webui/theme_source.cc
@@ -227,7 +227,7 @@ void ThemeSource::SendThemeImage(
// crbug.com/449277
content::BrowserThread::PostTaskAndReply(
content::BrowserThread::UI, FROM_HERE,
- base::Bind(&ProcessResourceOnUiThread, resource_id, scale, data),
- base::Bind(callback, data));
+ base::BindOnce(&ProcessResourceOnUiThread, resource_id, scale, data),
+ base::BindOnce(callback, data));
}
}
« no previous file with comments | « chrome/browser/ui/webui/signin/user_manager_screen_handler.cc ('k') | chrome/browser/ui/webui/version_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698