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

Unified Diff: chrome/browser/ui/webui/chrome_url_data_manager.cc

Issue 8113025: base::Bind: More converts, mostly in WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/chrome_url_data_manager.cc
diff --git a/chrome/browser/ui/webui/chrome_url_data_manager.cc b/chrome/browser/ui/webui/chrome_url_data_manager.cc
index 967f1a5df948f9394e960e3fe7d832273da060ff..728103c49f208b3bc8d1e5c31f8799f45dbcbe45 100644
--- a/chrome/browser/ui/webui/chrome_url_data_manager.cc
+++ b/chrome/browser/ui/webui/chrome_url_data_manager.cc
@@ -6,6 +6,7 @@
#include <vector>
+#include "base/bind.h"
#include "base/i18n/rtl.h"
#include "base/memory/ref_counted_memory.h"
#include "base/memory/scoped_ptr.h"
@@ -50,9 +51,8 @@ void ChromeURLDataManager::AddDataSource(DataSource* source) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
- NewRunnableFunction(AddDataSourceOnIOThread,
- backend_,
- make_scoped_refptr(source)));
+ base::Bind(AddDataSourceOnIOThread,
awong 2011/10/04 01:48:09 Use "&AddDataSourceOnIOThread" insteads. It's slig
James Hawkins 2011/10/04 02:09:20 Done.
+ backend_, make_scoped_refptr(source)));
}
// static

Powered by Google App Engine
This is Rietveld 408576698