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

Unified Diff: chrome/browser/icon_loader.cc

Issue 2828663002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/{i,l,m,n,p,r}* (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
« no previous file with comments | « no previous file | chrome/browser/icon_loader_auralinux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/icon_loader.cc
diff --git a/chrome/browser/icon_loader.cc b/chrome/browser/icon_loader.cc
index e00c890654ba390e25a12e6732ccf065bb0cdeef..d679bd3598331ad1bda2c5228218a4bef291b110 100644
--- a/chrome/browser/icon_loader.cc
+++ b/chrome/browser/icon_loader.cc
@@ -22,8 +22,8 @@ void IconLoader::Start() {
BrowserThread::PostTaskAndReply(
BrowserThread::FILE, FROM_HERE,
- base::Bind(&IconLoader::ReadGroup, base::Unretained(this)),
- base::Bind(&IconLoader::OnReadGroup, base::Unretained(this)));
+ base::BindOnce(&IconLoader::ReadGroup, base::Unretained(this)),
+ base::BindOnce(&IconLoader::OnReadGroup, base::Unretained(this)));
}
IconLoader::IconLoader(const base::FilePath& file_path,
@@ -40,5 +40,5 @@ void IconLoader::ReadGroup() {
void IconLoader::OnReadGroup() {
BrowserThread::PostTask(
ReadIconThreadID(), FROM_HERE,
- base::Bind(&IconLoader::ReadIcon, base::Unretained(this)));
+ base::BindOnce(&IconLoader::ReadIcon, base::Unretained(this)));
}
« no previous file with comments | « no previous file | chrome/browser/icon_loader_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698