diff options
author | mmenke <mmenke@chromium.org> | 2015-10-28 13:28:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-28 20:28:52 +0000 |
commit | d76f6c556e4f24218ee0a66e4208151aaff13f40 (patch) | |
tree | 73e614a52707d4ac667ce3fe9e01a0d32d751a0c /net/url_request/view_cache_helper_unittest.cc | |
parent | 373dba749956e88fc2a40d846cc176f4421fbafb (diff) | |
download | chromium_src-d76f6c556e4f24218ee0a66e4208151aaff13f40.zip chromium_src-d76f6c556e4f24218ee0a66e4208151aaff13f40.tar.gz chromium_src-d76f6c556e4f24218ee0a66e4208151aaff13f40.tar.bz2 |
Make HttpCache constructors take scoped_ptrs.
BUG=479898
Review URL: https://codereview.chromium.org/1406203008
Cr-Commit-Position: refs/heads/master@{#356630}
Diffstat (limited to 'net/url_request/view_cache_helper_unittest.cc')
-rw-r--r-- | net/url_request/view_cache_helper_unittest.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/url_request/view_cache_helper_unittest.cc b/net/url_request/view_cache_helper_unittest.cc index e10b203..9671700 100644 --- a/net/url_request/view_cache_helper_unittest.cc +++ b/net/url_request/view_cache_helper_unittest.cc @@ -31,8 +31,7 @@ class TestURLRequestContext : public URLRequestContext { }; TestURLRequestContext::TestURLRequestContext() - : cache_(new MockNetworkLayer(), - nullptr, + : cache_(make_scoped_ptr(new MockNetworkLayer()), HttpCache::DefaultBackend::InMemory(0), true) { set_http_transaction_factory(&cache_); |