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

Unified Diff: chrome/browser/io_thread.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 | « no previous file | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 95db4d7b054bf7cfe99542c82995b70701914d8e..1731e1281ce8240988dd67b58143b2544093e3b6 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -997,8 +997,7 @@ net::URLRequestContext* IOThread::ConstructSystemRequestContext(
globals->network_quality_estimator.get());
context->set_backoff_manager(globals->url_request_backoff_manager.get());
- context->set_http_server_properties(
- globals->http_server_properties->GetWeakPtr());
+ context->set_http_server_properties(globals->http_server_properties.get());
context->set_enable_brotli(globals->enable_brotli);
@@ -1048,8 +1047,7 @@ net::URLRequestContext* IOThread::ConstructProxyScriptFetcherContext(
context->set_network_delegate(globals->system_network_delegate.get());
context->set_http_user_agent_settings(
globals->http_user_agent_settings.get());
- context->set_http_server_properties(
- globals->http_server_properties->GetWeakPtr());
+ context->set_http_server_properties(globals->http_server_properties.get());
context->set_enable_brotli(globals->enable_brotli);
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698