summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_group.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/appcache/appcache_group.cc')
-rw-r--r--webkit/appcache/appcache_group.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/appcache/appcache_group.cc b/webkit/appcache/appcache_group.cc
index 05e1ac5..1bc5a1f 100644
--- a/webkit/appcache/appcache_group.cc
+++ b/webkit/appcache/appcache_group.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -231,7 +231,9 @@ void AppCacheGroup::ScheduleUpdateRestart(int delay_ms) {
restart_update_task_.Reset(
base::Bind(&AppCacheGroup::RunQueuedUpdates, this));
MessageLoop::current()->PostDelayedTask(
- FROM_HERE, restart_update_task_.callback(), delay_ms);
+ FROM_HERE,
+ restart_update_task_.callback(),
+ base::TimeDelta::FromMilliseconds(delay_ms));
}
void AppCacheGroup::HostDestructionImminent(AppCacheHost* host) {