| Index: net/proxy/proxy_script_fetcher_impl_unittest.cc
|
| diff --git a/net/proxy/proxy_script_fetcher_impl_unittest.cc b/net/proxy/proxy_script_fetcher_impl_unittest.cc
|
| index f27ccfd3d0a6f7ccc75093b1ea4f7d0b7b2a8e58..0ffe0c0f2c37d72626557f83dc6d46ae62f78660 100644
|
| --- a/net/proxy/proxy_script_fetcher_impl_unittest.cc
|
| +++ b/net/proxy/proxy_script_fetcher_impl_unittest.cc
|
| @@ -75,11 +75,10 @@
|
| params.proxy_service = proxy_service();
|
| params.ssl_config_service = ssl_config_service();
|
| params.http_server_properties = http_server_properties();
|
| - storage_.set_http_network_session(
|
| - make_scoped_ptr(new HttpNetworkSession(params)));
|
| - storage_.set_http_transaction_factory(
|
| - new HttpCache(storage_.http_network_session(),
|
| - HttpCache::DefaultBackend::InMemory(0), false));
|
| + scoped_refptr<HttpNetworkSession> network_session(
|
| + new HttpNetworkSession(params));
|
| + storage_.set_http_transaction_factory(new HttpCache(
|
| + network_session.get(), HttpCache::DefaultBackend::InMemory(0)));
|
| URLRequestJobFactoryImpl* job_factory = new URLRequestJobFactoryImpl();
|
| #if !defined(DISABLE_FILE_SUPPORT)
|
| job_factory->SetProtocolHandler("file",
|
|
|