Index: components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h |
diff --git a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h |
index a12a35f22f84a6a71bf782a6abe84a0d019e293c..de8bd4e9751c0281fd24c160d9b67982560aa0b2 100644 |
--- a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h |
+++ b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h |
@@ -6,7 +6,7 @@ |
#define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_BACKEND_IMPL_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/memory/scoped_ptr.h" |
#include "base/observer_list.h" |
#include "base/supports_user_data.h" |
@@ -37,7 +37,7 @@ class CreditCard; |
// WebDataService. |
// This class is destroyed on the DB thread. |
class AutofillWebDataBackendImpl |
- : public base::RefCountedDeleteOnMessageLoop<AutofillWebDataBackendImpl>, |
+ : public base::RefCountedDeleteOnTaskRunner<AutofillWebDataBackendImpl>, |
public AutofillWebDataBackend { |
public: |
// |web_database_backend| is used to access the WebDatabase directly for |
@@ -149,7 +149,7 @@ class AutofillWebDataBackendImpl |
virtual ~AutofillWebDataBackendImpl(); |
private: |
- friend class base::RefCountedDeleteOnMessageLoop<AutofillWebDataBackendImpl>; |
+ friend class base::RefCountedDeleteOnTaskRunner<AutofillWebDataBackendImpl>; |
friend class base::DeleteHelper<AutofillWebDataBackendImpl>; |
// This makes the destructor public, and thus allows us to aggregate |