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

Unified Diff: net/base/network_change_notifier_win.cc

Issue 7812036: Update base/timer.h code to pass through Location from call sites. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
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 0d1f23ccefb695426a5764deb1e21bbbc12309a2..f49182681f25c7e1fb0a93c04108e4c3aa5958db 100644
--- a/net/base/network_change_notifier_win.cc
+++ b/net/base/network_change_notifier_win.cc
@@ -154,7 +154,8 @@ void NetworkChangeNotifierWin::OnObjectSignaled(HANDLE object) {
// by adamk on Windows 7.
timer_.Stop(); // cancel any already waiting notification
timer_.Start(base::TimeDelta::FromSeconds(1), this,
- &NetworkChangeNotifierWin::NotifyParentOfOnlineStateChange);
+ &NetworkChangeNotifierWin::NotifyParentOfOnlineStateChange,
+ FROM_HERE);
// Start watching for the next address change.
WatchForAddressChange();
« base/timer.h ('K') | « media/filters/adaptive_demuxer.cc ('k') | net/curvecp/messenger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698