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

Unified Diff: chromecast/browser/url_request_context_factory.cc

Issue 2041863002: Remove HttpServerProperies::GetWeakPtr(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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 | « chrome/browser/profiles/profile_io_data.cc ('k') | components/cronet/ios/cronet_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/url_request_context_factory.cc
diff --git a/chromecast/browser/url_request_context_factory.cc b/chromecast/browser/url_request_context_factory.cc
index d7948f90bac9e8bf02f484a860d1ad388b2f39f9..e743412dc4cf5cadc9dd56031db145946768c43a 100644
--- a/chromecast/browser/url_request_context_factory.cc
+++ b/chromecast/browser/url_request_context_factory.cc
@@ -290,7 +290,7 @@ void URLRequestContextFactory::PopulateNetworkSessionParams(
params->ssl_config_service = ssl_config_service_.get();
params->transport_security_state = transport_security_state_.get();
params->http_auth_handler_factory = http_auth_handler_factory_.get();
- params->http_server_properties = http_server_properties_->GetWeakPtr();
+ params->http_server_properties = http_server_properties_.get();
params->ignore_certificate_errors = ignore_certificate_errors;
params->proxy_service = proxy_service_.get();
}
@@ -316,8 +316,7 @@ net::URLRequestContext* URLRequestContextFactory::CreateSystemRequestContext() {
transport_security_state_.get());
system_context->set_http_auth_handler_factory(
http_auth_handler_factory_.get());
- system_context->set_http_server_properties(
- http_server_properties_->GetWeakPtr());
+ system_context->set_http_server_properties(http_server_properties_.get());
system_context->set_http_transaction_factory(
system_transaction_factory_.get());
system_context->set_http_user_agent_settings(
@@ -383,8 +382,7 @@ net::URLRequestContext* URLRequestContextFactory::CreateMainRequestContext(
main_context->set_transport_security_state(transport_security_state_.get());
main_context->set_http_auth_handler_factory(
http_auth_handler_factory_.get());
- main_context->set_http_server_properties(
- http_server_properties_->GetWeakPtr());
+ main_context->set_http_server_properties(http_server_properties_.get());
main_context->set_cookie_store(main_cookie_store_.get());
main_context->set_http_user_agent_settings(
http_user_agent_settings_.get());
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | components/cronet/ios/cronet_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698