summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy/proxy_service.cc')
-rw-r--r--net/proxy/proxy_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc
index 10019b8..e3406aa 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));