Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Unified Diff: net/http/bidirectional_stream.cc

Issue 2895263003: Revert CLs landed in HttpStreamFactoryImpl to track down a crasher (Closed)
Patch Set: Revert "Fix SpdySessionKey for HTTP/2 alternative Jobs." Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/bidirectional_stream.cc
diff --git a/net/http/bidirectional_stream.cc b/net/http/bidirectional_stream.cc
index 92d550df77089bc9c46e8283319b512b6326b410..c984b53eb1581704ee9eb63abb020e72fd4bb5ba 100644
--- a/net/http/bidirectional_stream.cc
+++ b/net/http/bidirectional_stream.cc
@@ -120,12 +120,12 @@ BidirectionalStream::BidirectionalStream(
http_request_info.url = request_info_->url;
http_request_info.method = request_info_->method;
http_request_info.extra_headers = request_info_->extra_headers;
- stream_request_ =
+ stream_request_.reset(
session->http_stream_factory()->RequestBidirectionalStreamImpl(
http_request_info, request_info_->priority, server_ssl_config,
server_ssl_config, this,
/* enable_ip_based_pooling = */ true,
- /* enable_alternative_services = */ true, net_log_);
+ /* enable_alternative_services = */ true, net_log_));
// Check that this call cannot fail to set a non-NULL |stream_request_|.
DCHECK(stream_request_);
// Check that HttpStreamFactory does not invoke OnBidirectionalStreamImplReady
« no previous file with comments | « no previous file | net/http/http_network_transaction.cc » ('j') | net/http/http_stream_factory_impl_job_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698