Index: content/browser/appcache/appcache_update_job.cc |
diff --git a/content/browser/appcache/appcache_update_job.cc b/content/browser/appcache/appcache_update_job.cc |
index 82502777683fa1cc989ac9d5ed3e3a72d8a6e017..837f248d070de2dd756bc26b5a7fa7e253f1a843 100644 |
--- a/content/browser/appcache/appcache_update_job.cc |
+++ b/content/browser/appcache/appcache_update_job.cc |
@@ -7,6 +7,8 @@ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/compiler_specific.h" |
+#include "base/location.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
#include "base/threading/thread_task_runner_handle.h" |
@@ -1709,7 +1711,7 @@ void AppCacheUpdateJob::DeleteSoon() { |
group_ = NULL; |
} |
- base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
+ base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); |
} |
} // namespace content |