| Index: net/socket/tcp_client_socket_libevent.cc
|
| diff --git a/net/socket/tcp_client_socket_libevent.cc b/net/socket/tcp_client_socket_libevent.cc
|
| index 30f7bc25d90f15684e65d7ee2a9973aabf968d36..8b5d0e2b305b3c57983df3aa72a8ecb35691cb09 100644
|
| --- a/net/socket/tcp_client_socket_libevent.cc
|
| +++ b/net/socket/tcp_client_socket_libevent.cc
|
| @@ -150,8 +150,9 @@ int TCPClientSocketLibevent::Connect(CompletionCallback* callback) {
|
|
|
| DCHECK(!waiting_connect());
|
|
|
| - net_log_.BeginEvent(NetLog::TYPE_TCP_CONNECT,
|
| - new AddressListNetLogParam(addresses_));
|
| + net_log_.BeginEvent(
|
| + NetLog::TYPE_TCP_CONNECT,
|
| + make_scoped_refptr(new AddressListNetLogParam(addresses_)));
|
|
|
| // We will try to connect to each address in addresses_. Start with the
|
| // first one in the list.
|
| @@ -206,8 +207,8 @@ int TCPClientSocketLibevent::DoConnect() {
|
| }
|
|
|
| net_log_.BeginEvent(NetLog::TYPE_TCP_CONNECT_ATTEMPT,
|
| - new NetLogStringParameter(
|
| - "address", NetAddressToStringWithPort(current_ai_)));
|
| + make_scoped_refptr(new NetLogStringParameter(
|
| + "address", NetAddressToStringWithPort(current_ai_))));
|
|
|
| next_connect_state_ = CONNECT_STATE_CONNECT_COMPLETE;
|
|
|
|
|