| Index: components/dom_distiller/core/distilled_content_store.cc
|
| diff --git a/components/dom_distiller/core/distilled_content_store.cc b/components/dom_distiller/core/distilled_content_store.cc
|
| index 11ff967a809905d8a87f9048c8d0c9c344fd5a49..1cb1d9e79e379a502522ac6048f58feaf06fe27a 100644
|
| --- a/components/dom_distiller/core/distilled_content_store.cc
|
| +++ b/components/dom_distiller/core/distilled_content_store.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "components/dom_distiller/core/distilled_content_store.h"
|
|
|
| -#include "base/message_loop/message_loop.h"
|
| +#include "base/thread_task_runner_handle.h"
|
|
|
| namespace dom_distiller {
|
|
|
| @@ -24,8 +24,8 @@ void InMemoryContentStore::SaveContent(
|
| InMemoryContentStore::SaveCallback callback) {
|
| InjectContent(entry, proto);
|
| if (!callback.is_null()) {
|
| - base::MessageLoop::current()->PostTask(FROM_HERE,
|
| - base::Bind(callback, true));
|
| + base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE,
|
| + base::Bind(callback, true));
|
| }
|
| }
|
|
|
| @@ -56,7 +56,7 @@ void InMemoryContentStore::LoadContent(
|
| } else {
|
| distilled_article.reset(new DistilledArticleProto());
|
| }
|
| - base::MessageLoop::current()->PostTask(
|
| + base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| FROM_HERE,
|
| base::Bind(callback, success, base::Passed(&distilled_article)));
|
| }
|
|
|