| Index: extensions/browser/api/cast_channel/cast_socket_unittest.cc
|
| diff --git a/extensions/browser/api/cast_channel/cast_socket_unittest.cc b/extensions/browser/api/cast_channel/cast_socket_unittest.cc
|
| index fefed36841eb4337bd35d540d6c4ad936c5a7c48..7f66ab4f2fe5ae30da544dcc2beba2f9785f8e25 100644
|
| --- a/extensions/browser/api/cast_channel/cast_socket_unittest.cc
|
| +++ b/extensions/browser/api/cast_channel/cast_socket_unittest.cc
|
| @@ -86,13 +86,13 @@ class MockCastSocketDelegate : public CastSocket::Delegate {
|
|
|
| class MockTCPSocket : public net::TCPClientSocket {
|
| public:
|
| - explicit MockTCPSocket(const net::MockConnect& connect_data) :
|
| - TCPClientSocket(net::AddressList(), NULL, net::NetLog::Source()),
|
| - connect_data_(connect_data),
|
| - do_nothing_(false) { }
|
| + explicit MockTCPSocket(const net::MockConnect& connect_data)
|
| + : TCPClientSocket(net::AddressList(), nullptr, net::NetLog::Source()),
|
| + connect_data_(connect_data),
|
| + do_nothing_(false) {}
|
|
|
| - explicit MockTCPSocket(bool do_nothing) :
|
| - TCPClientSocket(net::AddressList(), NULL, net::NetLog::Source()) {
|
| + explicit MockTCPSocket(bool do_nothing)
|
| + : TCPClientSocket(net::AddressList(), nullptr, net::NetLog::Source()) {
|
| CHECK(do_nothing);
|
| do_nothing_ = do_nothing;
|
| }
|
|
|