| Index: net/websockets/websocket_handshake_stream_create_helper_test.cc
|
| diff --git a/net/websockets/websocket_handshake_stream_create_helper_test.cc b/net/websockets/websocket_handshake_stream_create_helper_test.cc
|
| index 652f1bcad6bd71771913a13efb12df77279627dc..e5819f1a6cf1cc33fa0f54c28717af15828c9a26 100644
|
| --- a/net/websockets/websocket_handshake_stream_create_helper_test.cc
|
| +++ b/net/websockets/websocket_handshake_stream_create_helper_test.cc
|
| @@ -39,13 +39,12 @@ class MockClientSocketHandleFactory {
|
| const std::string& return_to_read) {
|
| socket_factory_maker_.SetExpectations(expect_written, return_to_read);
|
| scoped_ptr<ClientSocketHandle> socket_handle(new ClientSocketHandle);
|
| - socket_handle->Init(
|
| - "a",
|
| - scoped_refptr<MockTransportSocketParams>(),
|
| - MEDIUM,
|
| - CompletionCallback(),
|
| - &pool_,
|
| - BoundNetLog());
|
| + socket_handle->Init("a",
|
| + scoped_refptr<MockTransportSocketParams>(),
|
| + MEDIUM,
|
| + CompletionCallback(),
|
| + &pool_,
|
| + BoundNetLog());
|
| return socket_handle.Pass();
|
| }
|
|
|
| @@ -138,9 +137,12 @@ class WebSocketHandshakeStreamCreateHelperTest : public ::testing::Test {
|
| // Confirm that the basic case works as expected.
|
| TEST_F(WebSocketHandshakeStreamCreateHelperTest, BasicStream) {
|
| scoped_ptr<WebSocketStream> stream =
|
| - CreateAndInitializeStream("ws://localhost/", "/",
|
| - std::vector<std::string>(), "http://localhost/",
|
| - "", "");
|
| + CreateAndInitializeStream("ws://localhost/",
|
| + "/",
|
| + std::vector<std::string>(),
|
| + "http://localhost/",
|
| + "",
|
| + "");
|
| EXPECT_EQ("", stream->GetExtensions());
|
| EXPECT_EQ("", stream->GetSubProtocol());
|
| }
|
|
|