| Index: android_webview/browser/net/aw_cookie_store_wrapper.cc
|
| diff --git a/android_webview/browser/net/aw_cookie_store_wrapper.cc b/android_webview/browser/net/aw_cookie_store_wrapper.cc
|
| index ee82835643eb36cb7a02476aefca09cdbaf64057..466081b06a1c8fbc8f1b0d28b6e5d402dfac2abb 100644
|
| --- a/android_webview/browser/net/aw_cookie_store_wrapper.cc
|
| +++ b/android_webview/browser/net/aw_cookie_store_wrapper.cc
|
| @@ -7,7 +7,7 @@
|
| #include <string>
|
|
|
| #include "android_webview/browser/net/init_native_callback.h"
|
| -#include "base/memory/ref_counted_delete_on_message_loop.h"
|
| +#include "base/memory/ref_counted_delete_on_sequence.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -46,12 +46,12 @@ class SubscriptionWrapper {
|
| // underlying subscription to the real CookieStore, and posting notifications
|
| // back to |callback_list_|.
|
| class NestedSubscription
|
| - : public base::RefCountedDeleteOnMessageLoop<NestedSubscription> {
|
| + : public base::RefCountedDeleteOnSequence<NestedSubscription> {
|
| public:
|
| NestedSubscription(const GURL& url,
|
| const std::string& name,
|
| base::WeakPtr<SubscriptionWrapper> subscription_wrapper)
|
| - : base::RefCountedDeleteOnMessageLoop<NestedSubscription>(
|
| + : base::RefCountedDeleteOnSequence<NestedSubscription>(
|
| GetCookieStoreTaskRunner()),
|
| subscription_wrapper_(subscription_wrapper),
|
| client_task_runner_(base::ThreadTaskRunnerHandle::Get()) {
|
| @@ -60,7 +60,7 @@ class SubscriptionWrapper {
|
| }
|
|
|
| private:
|
| - friend class base::RefCountedDeleteOnMessageLoop<NestedSubscription>;
|
| + friend class base::RefCountedDeleteOnSequence<NestedSubscription>;
|
| friend class base::DeleteHelper<NestedSubscription>;
|
|
|
| ~NestedSubscription() {}
|
|
|