Index: chrome/browser/safe_browsing/malware_details_unittest.cc |
diff --git a/chrome/browser/safe_browsing/malware_details_unittest.cc b/chrome/browser/safe_browsing/malware_details_unittest.cc |
index cc9802021694e864829fb3ed6f42ecb7f518ede9..73ccfdde74b871e2c5ac4664bbb91c279e3ee532 100644 |
--- a/chrome/browser/safe_browsing/malware_details_unittest.cc |
+++ b/chrome/browser/safe_browsing/malware_details_unittest.cc |
@@ -105,7 +105,7 @@ void FillCache(net::URLRequestContextGetter* context_getter) { |
disk_cache::Backend* cache; |
int rv = |
context_getter->GetURLRequestContext()->http_transaction_factory()-> |
- GetCache()-> GetBackend(&cache, &cb); |
+ GetCache()->GetBackend(&cache, &cb); |
ASSERT_EQ(net::OK, cb.GetResult(rv)); |
std::string empty; |
@@ -559,6 +559,7 @@ TEST_F(MalwareDetailsTest, HTTPCache) { |
expected.set_complete(true); |
VerifyResults(actual, expected); |
+ profile()->ResetRequestContext(); |
} |
// Tests the interaction with the HTTP cache (where the cache is empty). |