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

Unified Diff: net/http/http_stream_factory_impl.cc

Issue 17948002: Update Linux to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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 | « net/disk_cache/simple/simple_index_file_unittest.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory_impl.cc
diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc
index 6c7c46b1f94e9c841df827ba1934d2bc96ecf901..a1c72c6083d313b3d0cbd6b96df0910591607662 100644
--- a/net/http/http_stream_factory_impl.cc
+++ b/net/http/http_stream_factory_impl.cc
@@ -291,13 +291,17 @@ void HttpStreamFactoryImpl::OnNewSpdySessionReady(
DCHECK(factory);
bool use_relative_url = direct || request->url().SchemeIs("wss");
request->OnWebSocketStreamReady(
- NULL, used_ssl_config, used_proxy_info,
- factory->CreateSpdyStream(spdy_session, use_relative_url));
+ NULL,
+ used_ssl_config,
+ used_proxy_info,
+ factory->CreateSpdyStream(spdy_session.get(), use_relative_url));
} else {
bool use_relative_url = direct || request->url().SchemeIs("https");
- request->OnStreamReady(NULL, used_ssl_config, used_proxy_info,
- new SpdyHttpStream(spdy_session,
- use_relative_url));
+ request->OnStreamReady(
+ NULL,
+ used_ssl_config,
+ used_proxy_info,
+ new SpdyHttpStream(spdy_session.get(), use_relative_url));
}
}
// TODO(mbelshe): Alert other valid requests.
« no previous file with comments | « net/disk_cache/simple/simple_index_file_unittest.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698