| Index: components/cronet/ios/cronet_environment.cc
|
| diff --git a/components/cronet/ios/cronet_environment.cc b/components/cronet/ios/cronet_environment.cc
|
| index 8f6fd6779f98ebca666cb1576c4f16a704898819..bfa89863fd3c2814af7da47c980402d53f3a2284 100644
|
| --- a/components/cronet/ios/cronet_environment.cc
|
| +++ b/components/cronet/ios/cronet_environment.cc
|
| @@ -272,8 +272,7 @@ void CronetEnvironment::InitializeOnNetworkThread() {
|
| main_context_->set_transport_security_state(
|
| new net::TransportSecurityState());
|
| http_server_properties_.reset(new net::HttpServerPropertiesImpl());
|
| - main_context_->set_http_server_properties(
|
| - http_server_properties_->GetWeakPtr());
|
| + main_context_->set_http_server_properties(http_server_properties_.get());
|
|
|
| // TODO(rdsmith): Note that the ".release()" calls below are leaking
|
| // the objects in question; this should be fixed by having an object
|
|
|