Index: net/proxy/proxy_service.cc |
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc |
index 13d049e49ab03034d98ec77cc97ba08d0c64c0f2..47673c5b2d359c918d6f645c895fa4c9dc2e273b 100644 |
--- a/net/proxy/proxy_service.cc |
+++ b/net/proxy/proxy_service.cc |
@@ -384,7 +384,7 @@ ProxyService::ProxyService(ProxyConfigService* config_service, |
stall_proxy_auto_config_delay_( |
base::TimeDelta::FromMilliseconds( |
kNumMillisToStallAfterNetworkChanges)) { |
- NetworkChangeNotifier::AddObserver(this); |
+ NetworkChangeNotifier::AddIPAddressObserver(this); |
ResetConfigService(config_service); |
} |
@@ -560,7 +560,7 @@ int ProxyService::TryToCompleteSynchronously(const GURL& url, |
} |
ProxyService::~ProxyService() { |
- NetworkChangeNotifier::RemoveObserver(this); |
+ NetworkChangeNotifier::RemoveIPAddressObserver(this); |
config_service_->RemoveObserver(this); |
// Cancel any inprogress requests. |