Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: webkit/appcache/appcache_group.cc

Issue 9240001: Convert use of int ms to TimeDelta in files owned by michaeln. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_group.cc
diff --git a/webkit/appcache/appcache_group.cc b/webkit/appcache/appcache_group.cc
index 05e1ac5329fb8373860e099cf5e9f30f389cc049..a080003e8d6f4ca06a73311392a379c4d52995cd 100644
--- a/webkit/appcache/appcache_group.cc
+++ b/webkit/appcache/appcache_group.cc
@@ -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) {
« no previous file with comments | « no previous file | webkit/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698