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

Unified Diff: google_apis/gcm/tools/mcs_probe.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
Index: google_apis/gcm/tools/mcs_probe.cc
diff --git a/google_apis/gcm/tools/mcs_probe.cc b/google_apis/gcm/tools/mcs_probe.cc
index d6ecb393c8239fe31dd6b82da30f7599ec97dcbe..cf078e670ba98044fec414d5be8c6aa7deeb487f 100644
--- a/google_apis/gcm/tools/mcs_probe.cc
+++ b/google_apis/gcm/tools/mcs_probe.cc
@@ -414,8 +414,7 @@ void MCSProbe::BuildNetworkSession() {
session_params.transport_security_state = transport_security_state_.get();
session_params.ssl_config_service = new net::SSLConfigServiceDefaults();
session_params.http_auth_handler_factory = http_auth_handler_factory_.get();
- session_params.http_server_properties =
- http_server_properties_->GetWeakPtr();
+ session_params.http_server_properties = http_server_properties_.get();
session_params.host_mapping_rules = host_mapping_rules_.get();
session_params.ignore_certificate_errors = true;
session_params.testing_fixed_http_port = 0;
« no previous file with comments | « content/browser/loader/resource_scheduler_unittest.cc ('k') | ios/chrome/browser/browser_state/chrome_browser_state_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698