| Index: content/browser/appcache/appcache_group.cc
|
| diff --git a/content/browser/appcache/appcache_group.cc b/content/browser/appcache/appcache_group.cc
|
| index dbd089c9a328b9e727a000365226792171a22826..4e16e7faad6874710d9cfcc7acce495ee28dd986 100644
|
| --- a/content/browser/appcache/appcache_group.cc
|
| +++ b/content/browser/appcache/appcache_group.cc
|
| @@ -7,10 +7,8 @@
|
| #include <algorithm>
|
|
|
| #include "base/bind.h"
|
| -#include "base/location.h"
|
| #include "base/logging.h"
|
| -#include "base/single_thread_task_runner.h"
|
| -#include "base/thread_task_runner_handle.h"
|
| +#include "base/message_loop/message_loop.h"
|
| #include "content/browser/appcache/appcache.h"
|
| #include "content/browser/appcache/appcache_host.h"
|
| #include "content/browser/appcache/appcache_service_impl.h"
|
| @@ -232,8 +230,9 @@ void AppCacheGroup::ScheduleUpdateRestart(int delay_ms) {
|
| DCHECK(restart_update_task_.IsCancelled());
|
| restart_update_task_.Reset(
|
| base::Bind(&AppCacheGroup::RunQueuedUpdates, this));
|
| - base::ThreadTaskRunnerHandle::Get()->PostDelayedTask(
|
| - FROM_HERE, restart_update_task_.callback(),
|
| + base::MessageLoop::current()->PostDelayedTask(
|
| + FROM_HERE,
|
| + restart_update_task_.callback(),
|
| base::TimeDelta::FromMilliseconds(delay_ms));
|
| }
|
|
|
|
|