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 693a220f3bc0bace31141e6f44d88ff0d73362f9..ab29516a2427d9d40e4f4ecc9cc2fb8a73076830 100644 |
--- a/chromecast/browser/url_request_context_factory.cc |
+++ b/chromecast/browser/url_request_context_factory.cc |
@@ -152,11 +152,11 @@ void URLRequestContextFactory::InitializeOnUIThread(net::NetLog* net_log) { |
// Proxy config service should be initialized in UI thread, since |
// ProxyConfigServiceDelegate on Android expects UI thread. |
- proxy_config_service_.reset(net::ProxyService::CreateSystemProxyConfigService( |
+ proxy_config_service_ = net::ProxyService::CreateSystemProxyConfigService( |
content::BrowserThread::GetMessageLoopProxyForThread( |
content::BrowserThread::IO), |
content::BrowserThread::GetMessageLoopProxyForThread( |
- content::BrowserThread::FILE))); |
+ content::BrowserThread::FILE)); |
net_log_ = net_log; |
} |
@@ -216,8 +216,8 @@ void URLRequestContextFactory::InitializeSystemContextDependencies() { |
http_server_properties_.reset(new net::HttpServerPropertiesImpl); |
- proxy_service_.reset(net::ProxyService::CreateUsingSystemProxyResolver( |
- proxy_config_service_.release(), 0, NULL)); |
+ proxy_service_ = net::ProxyService::CreateUsingSystemProxyResolver( |
+ proxy_config_service_.release(), 0, NULL); |
system_dependencies_initialized_ = true; |
} |