diff options
author | pauljensen@chromium.org <pauljensen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-20 18:00:42 +0000 |
---|---|---|
committer | pauljensen@chromium.org <pauljensen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-20 18:00:42 +0000 |
commit | 2e6e62f2ecc14cde5fc6515213ed4983e2da81a0 (patch) | |
tree | b243c0ac6ae8ff3e48c4524b45899b00395a2812 /net/proxy/proxy_script_fetcher_impl_unittest.cc | |
parent | 4e2b667765a9e49ec64fdb453f41551fe4a3b7cc (diff) | |
download | chromium_src-2e6e62f2ecc14cde5fc6515213ed4983e2da81a0.zip chromium_src-2e6e62f2ecc14cde5fc6515213ed4983e2da81a0.tar.gz chromium_src-2e6e62f2ecc14cde5fc6515213ed4983e2da81a0.tar.bz2 |
Fix leak ProxyScriptFetcherImplTest
Review URL: https://codereview.chromium.org/11642044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174184 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_script_fetcher_impl_unittest.cc')
-rw-r--r-- | net/proxy/proxy_script_fetcher_impl_unittest.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/proxy/proxy_script_fetcher_impl_unittest.cc b/net/proxy/proxy_script_fetcher_impl_unittest.cc index 5f9990f..f7ca2b4 100644 --- a/net/proxy/proxy_script_fetcher_impl_unittest.cc +++ b/net/proxy/proxy_script_fetcher_impl_unittest.cc @@ -66,7 +66,7 @@ class RequestContext : public URLRequestContext { storage_.set_http_transaction_factory(new HttpCache( network_session, HttpCache::DefaultBackend::InMemory(0))); - set_job_factory(new URLRequestJobFactoryImpl()); + storage_.set_job_factory(new URLRequestJobFactoryImpl()); } virtual ~RequestContext() { @@ -74,7 +74,6 @@ class RequestContext : public URLRequestContext { private: URLRequestContextStorage storage_; - scoped_ptr<URLRequestJobFactory> url_request_job_factory_; }; // Get a file:// url relative to net/data/proxy/proxy_script_fetcher_unittest. |