Index: components/sync_driver/data_type_controller.h |
diff --git a/components/sync_driver/data_type_controller.h b/components/sync_driver/data_type_controller.h |
index 629919d00304524b6fc081fdb8fd9ba778adbac8..7af4da8caee74e4828b5ca47ed5ed1d3096b6bf1 100644 |
--- a/components/sync_driver/data_type_controller.h |
+++ b/components/sync_driver/data_type_controller.h |
@@ -11,7 +11,7 @@ |
#include "base/callback.h" |
#include "base/location.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/ref_counted_delete_on_message_loop.h" |
+#include "base/memory/ref_counted_delete_on_task_runner.h" |
#include "base/sequenced_task_runner_helpers.h" |
#include "components/sync_driver/data_type_error_handler.h" |
#include "sync/api/sync_merge_result.h" |
@@ -31,7 +31,7 @@ class ChangeProcessor; |
// Data type controllers need to be refcounted threadsafe, as they may |
// need to run model associator or change processor on other threads. |
class DataTypeController |
- : public base::RefCountedDeleteOnMessageLoop<DataTypeController>, |
+ : public base::RefCountedDeleteOnTaskRunner<DataTypeController>, |
public DataTypeErrorHandler { |
public: |
enum State { |
@@ -145,7 +145,7 @@ class DataTypeController |
virtual bool ReadyForStart() const; |
protected: |
- friend class base::RefCountedDeleteOnMessageLoop<DataTypeController>; |
+ friend class base::RefCountedDeleteOnTaskRunner<DataTypeController>; |
friend class base::DeleteHelper<DataTypeController>; |
DataTypeController(scoped_refptr<base::MessageLoopProxy> ui_thread, |