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

Unified Diff: net/base/network_change_notifier_win.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 | « no previous file | net/base/network_config_watcher_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier_win.cc
diff --git a/net/base/network_change_notifier_win.cc b/net/base/network_change_notifier_win.cc
index e1307447bc326ce2d2a47152175ab400f6cd7ee2..922c70b7d5b0e3c035dbe7a5ed392a25a1d632c3 100644
--- a/net/base/network_change_notifier_win.cc
+++ b/net/base/network_change_notifier_win.cc
@@ -204,7 +204,8 @@ void NetworkChangeNotifierWin::WatchForAddressChange() {
FROM_HERE,
base::Bind(&NetworkChangeNotifierWin::WatchForAddressChange,
weak_factory_.GetWeakPtr()),
- kWatchForAddressChangeRetryIntervalMs);
+ base::TimeDelta::FromMilliseconds(
+ kWatchForAddressChangeRetryIntervalMs));
return;
}
« no previous file with comments | « no previous file | net/base/network_config_watcher_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698