Index: net/http/http_stream_factory_impl_job.cc |
diff --git a/net/http/http_stream_factory_impl_job.cc b/net/http/http_stream_factory_impl_job.cc |
index f444f29d787b36e67a163e24177400dd16c22923..d492754969355f7eb8593711eac4d9a1bcc1d001 100644 |
--- a/net/http/http_stream_factory_impl_job.cc |
+++ b/net/http/http_stream_factory_impl_job.cc |
@@ -1157,7 +1157,7 @@ int HttpStreamFactoryImpl::Job::DoCreateStream() { |
delegate_->websocket_handshake_stream_create_helper() |
->CreateBasicStream(std::move(connection_), using_proxy)); |
} else { |
- stream_.reset(new HttpBasicStream(connection_.release(), using_proxy)); |
+ stream_.reset(new HttpBasicStream(std::move(connection_), using_proxy)); |
} |
return OK; |
} |