Index: content/browser/cache_storage/cache_storage_scheduler.cc |
diff --git a/content/browser/cache_storage/cache_storage_scheduler.cc b/content/browser/cache_storage/cache_storage_scheduler.cc |
index 33447b93787db708d73e5a79cb7dd1fa1c47f61a..86db5f2dc8f8b95967e395f2aeda4c7de8f045e5 100644 |
--- a/content/browser/cache_storage/cache_storage_scheduler.cc |
+++ b/content/browser/cache_storage/cache_storage_scheduler.cc |
@@ -9,7 +9,8 @@ |
#include "base/bind.h" |
#include "base/location.h" |
#include "base/logging.h" |
-#include "base/message_loop/message_loop_proxy.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
namespace content { |
@@ -40,7 +41,8 @@ void CacheStorageScheduler::RunOperationIfIdle() { |
// TODO(jkarlin): Run multiple operations in parallel where allowed. |
base::Closure closure = pending_operations_.front(); |
pending_operations_.pop_front(); |
- base::MessageLoopProxy::current()->PostTask(FROM_HERE, base::Bind(closure)); |
+ base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, |
+ base::Bind(closure)); |
} |
} |