| Index: net/socket/transport_client_socket_pool.cc
|
| diff --git a/net/socket/transport_client_socket_pool.cc b/net/socket/transport_client_socket_pool.cc
|
| index f2d124788345989d0abcdd41a83bc0e6df43b4a9..d915dfe45266e056373412f011c25c3f1be3bc04 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.HasObservers()) {
|
| // 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.HasObservers()) {
|
| // TODO(eroman): Split out the host and port parameters.
|
| net_log.AddEvent(
|
| NetLog::TYPE_TCP_CLIENT_SOCKET_POOL_REQUESTED_SOCKETS,
|
|
|