| Index: blimp/net/client_connection_manager.cc
|
| diff --git a/blimp/net/client_connection_manager.cc b/blimp/net/client_connection_manager.cc
|
| index 4218b2d512796e53e5b15e2a8b0a9bad41f075e8..32c13d1439350e3d6ef6afc423cd9aa67e29311f 100644
|
| --- a/blimp/net/client_connection_manager.cc
|
| +++ b/blimp/net/client_connection_manager.cc
|
| @@ -57,9 +57,9 @@ void ClientConnectionManager::Connect(int transport_index) {
|
| void ClientConnectionManager::OnConnectResult(int transport_index, int result) {
|
| DCHECK_NE(result, net::ERR_IO_PENDING);
|
| const auto& transport = transports_[transport_index];
|
| + DVLOG(1) << "OnConnectResult; result = " << result;
|
| if (result == net::OK) {
|
| - std::unique_ptr<BlimpConnection> connection =
|
| - base::MakeUnique<BlimpConnection>(transport->TakeMessagePort());
|
| + std::unique_ptr<BlimpConnection> connection = transport->MakeConnection();
|
| connection->AddConnectionErrorObserver(this);
|
| SendAuthenticationMessage(std::move(connection));
|
| } else {
|
|
|