summaryrefslogtreecommitdiffstats
path: root/net/socket/transport_client_socket_pool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/transport_client_socket_pool.cc')
-rw-r--r--net/socket/transport_client_socket_pool.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket/transport_client_socket_pool.cc b/net/socket/transport_client_socket_pool.cc
index f2d1247..b728cb9 100644
--- a/net/socket/transport_client_socket_pool.cc
+++ b/net/socket/transport_client_socket_pool.cc
@@ -506,7 +506,7 @@ int TransportClientSocketPool::RequestSocket(
void TransportClientSocketPool::NetLogTcpClientSocketPoolRequestedSocket(
const BoundNetLog& net_log,
const scoped_refptr<TransportSocketParams>* casted_params) {
- if (net_log.GetCaptureMode().enabled()) {
+ if (net_log.IsCapturing()) {
// TODO(eroman): Split out the host and port parameters.
net_log.AddEvent(
NetLog::TYPE_TCP_CLIENT_SOCKET_POOL_REQUESTED_SOCKET,
@@ -523,7 +523,7 @@ void TransportClientSocketPool::RequestSockets(
const scoped_refptr<TransportSocketParams>* casted_params =
static_cast<const scoped_refptr<TransportSocketParams>*>(params);
- if (net_log.GetCaptureMode().enabled()) {
+ if (net_log.IsCapturing()) {
// TODO(eroman): Split out the host and port parameters.
net_log.AddEvent(
NetLog::TYPE_TCP_CLIENT_SOCKET_POOL_REQUESTED_SOCKETS,