Index: components/signin/core/browser/webdata/token_web_data.cc |
diff --git a/components/signin/core/browser/webdata/token_web_data.cc b/components/signin/core/browser/webdata/token_web_data.cc |
index fc4b82d208f675560d7e3064ed7c57ad32582a72..91c842807a69421be86470b150b2e427ab61d637 100644 |
--- a/components/signin/core/browser/webdata/token_web_data.cc |
+++ b/components/signin/core/browser/webdata/token_web_data.cc |
@@ -5,7 +5,7 @@ |
#include "components/signin/core/browser/webdata/token_web_data.h" |
#include "base/bind.h" |
-#include "base/memory/ref_counted_delete_on_message_loop.h" |
+#include "base/memory/ref_counted_delete_on_task_runner.h" |
#include "base/message_loop/message_loop_proxy.h" |
#include "base/stl_util.h" |
#include "components/signin/core/browser/webdata/token_service_table.h" |
@@ -15,12 +15,10 @@ using base::Bind; |
using base::Time; |
class TokenWebDataBackend |
- : public base::RefCountedDeleteOnMessageLoop<TokenWebDataBackend> { |
- |
+ : public base::RefCountedDeleteOnTaskRunner<TokenWebDataBackend> { |
public: |
TokenWebDataBackend(scoped_refptr<base::MessageLoopProxy> db_thread) |
- : base::RefCountedDeleteOnMessageLoop<TokenWebDataBackend>(db_thread) { |
- } |
+ : base::RefCountedDeleteOnTaskRunner<TokenWebDataBackend>(db_thread) {} |
WebDatabase::State RemoveAllTokens(WebDatabase* db) { |
if (TokenServiceTable::FromWebDatabase(db)->RemoveAllTokens()) { |
@@ -59,7 +57,7 @@ class TokenWebDataBackend |
} |
private: |
- friend class base::RefCountedDeleteOnMessageLoop<TokenWebDataBackend>; |
+ friend class base::RefCountedDeleteOnTaskRunner<TokenWebDataBackend>; |
friend class base::DeleteHelper<TokenWebDataBackend>; |
}; |