summaryrefslogtreecommitdiffstats
path: root/net/url_request/view_cache_helper_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request/view_cache_helper_unittest.cc')
-rw-r--r--net/url_request/view_cache_helper_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/url_request/view_cache_helper_unittest.cc b/net/url_request/view_cache_helper_unittest.cc
index 5a656f2..e9e497b 100644
--- a/net/url_request/view_cache_helper_unittest.cc
+++ b/net/url_request/view_cache_helper_unittest.cc
@@ -28,7 +28,7 @@ class TestURLRequestContext : public net::URLRequestContext {
TestURLRequestContext::TestURLRequestContext()
: cache_(reinterpret_cast<net::HttpTransactionFactory*>(NULL), NULL,
net::HttpCache::DefaultBackend::InMemory(0)) {
- http_transaction_factory_ = &cache_;
+ set_http_transaction_factory(&cache_);
}
void WriteHeaders(disk_cache::Entry* entry, int flags, const std::string data) {