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

Unified Diff: net/http/http_stream_factory_impl_job.cc

Issue 2791923003: Remove unreachable code in HttpStreamFactoryImpl::Job::OnPreconnectsComplete (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 57546834af0abfbaf0f9485c7ad5e7b8ad9999b8..8273a5a78414250143d792b8e3bc645f6b1a7c33 100644
--- a/net/http/http_stream_factory_impl_job.cc
+++ b/net/http/http_stream_factory_impl_job.cc
@@ -528,10 +528,6 @@ void HttpStreamFactoryImpl::Job::OnHttpsProxyTunnelResponseCallback(
void HttpStreamFactoryImpl::Job::OnPreconnectsComplete() {
DCHECK(!new_spdy_session_);
- if (new_spdy_session_.get()) {
- delegate_->OnNewSpdySessionReady(this, new_spdy_session_,
- spdy_session_direct_);
- }
delegate_->OnPreconnectsComplete(this);
// |this| may be deleted after this call.
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698