summaryrefslogtreecommitdiffstats
path: root/net/socket/socks5_client_socket.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/socks5_client_socket.cc')
-rw-r--r--net/socket/socks5_client_socket.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/net/socket/socks5_client_socket.cc b/net/socket/socks5_client_socket.cc
index 8a1b256..8a3b780 100644
--- a/net/socket/socks5_client_socket.cc
+++ b/net/socket/socks5_client_socket.cc
@@ -30,9 +30,8 @@ COMPILE_ASSERT(sizeof(struct in6_addr) == 16, incorrect_system_size_of_IPv6);
SOCKS5ClientSocket::SOCKS5ClientSocket(
ClientSocketHandle* transport_socket,
const HostResolver::RequestInfo& req_info)
- : ALLOW_THIS_IN_INITIALIZER_LIST(
- io_callback_(base::Bind(&SOCKS5ClientSocket::OnIOComplete,
- base::Unretained(this)))),
+ : io_callback_(base::Bind(&SOCKS5ClientSocket::OnIOComplete,
+ base::Unretained(this))),
transport_(transport_socket),
next_state_(STATE_NONE),
completed_handshake_(false),
@@ -46,9 +45,8 @@ SOCKS5ClientSocket::SOCKS5ClientSocket(
SOCKS5ClientSocket::SOCKS5ClientSocket(
StreamSocket* transport_socket,
const HostResolver::RequestInfo& req_info)
- : ALLOW_THIS_IN_INITIALIZER_LIST(
- io_callback_(base::Bind(&SOCKS5ClientSocket::OnIOComplete,
- base::Unretained(this)))),
+ : io_callback_(base::Bind(&SOCKS5ClientSocket::OnIOComplete,
+ base::Unretained(this))),
transport_(new ClientSocketHandle()),
next_state_(STATE_NONE),
completed_handshake_(false),