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

Unified Diff: net/dns/serial_worker.cc

Issue 10029001: Update use of TimeDelta in net/*. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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 | « net/base/network_config_watcher_mac.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/serial_worker.cc
diff --git a/net/dns/serial_worker.cc b/net/dns/serial_worker.cc
index 60040a69ffa6b42b83dae3dc80a092b1e4522420..207ad5eee8806fbb7ee339f66b93b0cb5a2ba982 100644
--- a/net/dns/serial_worker.cc
+++ b/net/dns/serial_worker.cc
@@ -36,7 +36,7 @@ void SerialWorker::WorkNow() {
message_loop_->PostDelayedTask(
FROM_HERE,
base::Bind(&SerialWorker::RetryWork, this),
- kWorkerPoolRetryDelayMs);
+ base::TimeDelta::FromMilliseconds(kWorkerPoolRetryDelayMs));
state_ = WAITING;
return;
#endif
« no previous file with comments | « net/base/network_config_watcher_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698