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

Unified Diff: net/http/http_stream_factory_impl.cc

Issue 2906463002: Make HttpNetworkSession::host_mapping_rules no longer a pointer. (Closed)
Patch Set: Oops 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/http_stream_factory_impl.cc
diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc
index 669f04fdbbe93aea47312a1abb141a1a3d4c2cb1..11b602ccb342f83c7e9b82247fa653654b41925c 100644
--- a/net/http/http_stream_factory_impl.cc
+++ b/net/http/http_stream_factory_impl.cc
@@ -219,7 +219,7 @@ void HttpStreamFactoryImpl::PreconnectStreams(
}
const HostMappingRules* HttpStreamFactoryImpl::GetHostMappingRules() const {
- return session_->params().host_mapping_rules;
+ return &session_->params().host_mapping_rules;
}
void HttpStreamFactoryImpl::OnNewSpdySessionReady(

Powered by Google App Engine
This is Rietveld 408576698