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

Unified Diff: webkit/dom_storage/dom_storage_task_runner.cc

Issue 9572037: Convert uses of int ms to TimeDelta in webkit/appcache and webkit/dom_storage. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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 | « webkit/appcache/appcache_response_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/dom_storage/dom_storage_task_runner.cc
diff --git a/webkit/dom_storage/dom_storage_task_runner.cc b/webkit/dom_storage/dom_storage_task_runner.cc
index dc70b0a75a8b79dff88a441400b2563df358735a..3ea1b3ab7291447e3e30985f4f001292b79f96ae 100644
--- a/webkit/dom_storage/dom_storage_task_runner.cc
+++ b/webkit/dom_storage/dom_storage_task_runner.cc
@@ -31,8 +31,7 @@ bool DomStorageTaskRunner::PostDelayedTask(
const tracked_objects::Location& from_here,
const base::Closure& task,
base::TimeDelta delay) {
- return message_loop_->PostDelayedTask(from_here, task,
- delay.InMilliseconds());
+ return message_loop_->PostDelayedTask(from_here, task, delay);
}
// DomStorageWorkerPoolTaskRunner
@@ -68,7 +67,7 @@ bool DomStorageWorkerPoolTaskRunner::PostDelayedTask(
FROM_HERE,
base::Bind(base::IgnoreResult(&DomStorageWorkerPoolTaskRunner::PostTask),
this, from_here, task),
- delay.InMilliseconds());
+ delay);
}
// MockDomStorageTaskRunner
« no previous file with comments | « webkit/appcache/appcache_response_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698