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

Unified Diff: chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.cc

Issue 8113025: base::Bind: More converts, mostly in WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 years, 2 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/chromeos/imageburner/imageburner_utils.cc
diff --git a/chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.cc b/chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.cc
index b02ce877f60aa4d9ccf377413fc8cb9c58818bbb..b604707e0450a61f66044acc04f888ce13bc82c4 100644
--- a/chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.cc
+++ b/chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.h"
+#include "base/bind.h"
#include "base/path_service.h"
#include "base/string_util.h"
#include "base/task.h"
@@ -236,8 +237,7 @@ void BurnManager::OnDownloadUpdated(DownloadItem* download) {
new BurnManagerTaskProxy();
BrowserThread::PostTask(
BrowserThread::FILE, FROM_HERE,
- NewRunnableMethod(task.get(),
- &BurnManagerTaskProxy::OnConfigFileDownloaded));
+ base::Bind(&BurnManagerTaskProxy::OnConfigFileDownloaded, task.get()));
}
}

Powered by Google App Engine
This is Rietveld 408576698