| Index: components/offline_pages/offline_page_metadata_store_impl.cc
|
| diff --git a/components/offline_pages/offline_page_metadata_store_impl.cc b/components/offline_pages/offline_page_metadata_store_impl.cc
|
| index d1b9ce8b1dc59099a9f037b6d54dff814a54b5f1..ee2fb85bd37c5f0a4ef082caa3bba3d2c4376132 100644
|
| --- a/components/offline_pages/offline_page_metadata_store_impl.cc
|
| +++ b/components/offline_pages/offline_page_metadata_store_impl.cc
|
| @@ -10,7 +10,6 @@
|
| #include "base/bind.h"
|
| #include "base/files/file_path.h"
|
| #include "base/location.h"
|
| -#include "base/message_loop/message_loop.h"
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/sequenced_task_runner.h"
|
| #include "base/strings/string_number_conversions.h"
|
| @@ -216,8 +215,8 @@ void OfflinePageMetadataStoreImpl::UpdateEntries(
|
| // Callback is invoked through message loop to avoid improper retry and
|
| // simplify testing.
|
| DVLOG(1) << "Offline pages database not available in UpdateEntries.";
|
| - base::MessageLoop::current()->PostTask(FROM_HERE,
|
| - base::Bind(callback, false));
|
| + base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE,
|
| + base::Bind(callback, false));
|
| return;
|
| }
|
|
|
|
|