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

Unified Diff: components/sync_driver/data_type_controller.cc

Issue 369703003: Reduce usage of MessageLoopProxy in base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 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
« no previous file with comments | « components/sync_driver/data_type_controller.h ('k') | components/webdata/common/web_data_service_backend.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/data_type_controller.cc
diff --git a/components/sync_driver/data_type_controller.cc b/components/sync_driver/data_type_controller.cc
index db26151946f9bad98ce4e7d7f5302254a5bceaa2..b9fe1e367a4661a5f9b942a002558da8a4afb5ce 100644
--- a/components/sync_driver/data_type_controller.cc
+++ b/components/sync_driver/data_type_controller.cc
@@ -13,7 +13,7 @@ namespace sync_driver {
DataTypeController::DataTypeController(
scoped_refptr<base::MessageLoopProxy> ui_thread,
const base::Closure& error_callback)
- : base::RefCountedDeleteOnMessageLoop<DataTypeController>(ui_thread),
+ : base::RefCountedDeleteOnTaskRunner<DataTypeController>(ui_thread),
error_callback_(error_callback),
user_share_(NULL) {
}
« no previous file with comments | « components/sync_driver/data_type_controller.h ('k') | components/webdata/common/web_data_service_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698