Index: net/proxy/proxy_service.cc |
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc |
index 10019b8229c8e357b87ca4688acde629ed235816..e3406aa437df0137252f02e837cdab1a5b68bb84 100644 |
--- a/net/proxy/proxy_service.cc |
+++ b/net/proxy/proxy_service.cc |
@@ -1380,7 +1380,7 @@ int ProxyService::DidFinishResolvingProxy(const GURL& url, |
network_delegate->NotifyResolveProxy(url, load_flags, *this, result); |
// When logging all events is enabled, dump the proxy list. |
- if (net_log.GetCaptureMode().enabled()) { |
+ if (net_log.IsCapturing()) { |
net_log.AddEvent( |
NetLog::TYPE_PROXY_SERVICE_RESOLVED_PROXY_LIST, |
base::Bind(&NetLogFinishedResolvingProxyCallback, result)); |