summaryrefslogtreecommitdiffstats
path: root/net/url_request/view_cache_helper_unittest.cc
diff options
context:
space:
mode:
authormmenke <mmenke@chromium.org>2015-10-28 13:28:09 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-28 20:28:52 +0000
commitd76f6c556e4f24218ee0a66e4208151aaff13f40 (patch)
tree73e614a52707d4ac667ce3fe9e01a0d32d751a0c /net/url_request/view_cache_helper_unittest.cc
parent373dba749956e88fc2a40d846cc176f4421fbafb (diff)
downloadchromium_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.cc3
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_);