diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 23:25:42 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 23:25:42 +0000 |
commit | b98d65823b1ddd8dd1c698f565bcb23d8bd4700b (patch) | |
tree | b441a7d195d834ec2b09cd41dfa9d1bc55283416 /net/base/network_change_notifier_win.cc | |
parent | 3ce483afb035a5d4ec0981d1dcb2b5fd839b4c20 (diff) | |
download | chromium_src-b98d65823b1ddd8dd1c698f565bcb23d8bd4700b.zip chromium_src-b98d65823b1ddd8dd1c698f565bcb23d8bd4700b.tar.gz chromium_src-b98d65823b1ddd8dd1c698f565bcb23d8bd4700b.tar.bz2 |
Fix regression where we didn't ever start watching for network address changes on Windows.
BUG=48204
TEST=NetworkChangeNotifier works on Windows
Review URL: http://codereview.chromium.org/2807036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/network_change_notifier_win.cc')
-rw-r--r-- | net/base/network_change_notifier_win.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/base/network_change_notifier_win.cc b/net/base/network_change_notifier_win.cc index e0e0892..7bc5ddf 100644 --- a/net/base/network_change_notifier_win.cc +++ b/net/base/network_change_notifier_win.cc @@ -14,6 +14,7 @@ namespace net { NetworkChangeNotifierWin::NetworkChangeNotifierWin() { memset(&addr_overlapped_, 0, sizeof addr_overlapped_); addr_overlapped_.hEvent = WSACreateEvent(); + WatchForAddressChange(); } NetworkChangeNotifierWin::~NetworkChangeNotifierWin() { |