| Index: content/browser/appcache/appcache_response.cc
|
| diff --git a/content/browser/appcache/appcache_response.cc b/content/browser/appcache/appcache_response.cc
|
| index 0c0f4bf1e3ec3daeb05932d4044789c2be242f3d..607b5a7e90417789877902eeea7255e18391beaf 100644
|
| --- a/content/browser/appcache/appcache_response.cc
|
| +++ b/content/browser/appcache/appcache_response.cc
|
| @@ -7,12 +7,14 @@
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/location.h"
|
| #include "base/logging.h"
|
| -#include "base/message_loop/message_loop.h"
|
| #include "base/numerics/safe_math.h"
|
| #include "base/pickle.h"
|
| #include "base/profiler/scoped_tracker.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/strings/string_util.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "content/browser/appcache/appcache_storage.h"
|
| #include "net/base/completion_callback.h"
|
| #include "net/base/io_buffer.h"
|
| @@ -90,7 +92,7 @@ AppCacheResponseIO::~AppCacheResponseIO() {
|
| }
|
|
|
| void AppCacheResponseIO::ScheduleIOCompletionCallback(int result) {
|
| - base::MessageLoop::current()->PostTask(
|
| + base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| FROM_HERE, base::Bind(&AppCacheResponseIO::OnIOComplete,
|
| weak_factory_.GetWeakPtr(), result));
|
| }
|
|
|