| 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 37ada0cf918aff458f9bb3dcadec18715fda6213..3e8ee595b827ac39135f4d31fc8d7615ef3ba1eb 100644
|
| --- a/chrome/browser/safe_browsing/malware_details_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/malware_details_unittest.cc
|
| @@ -531,7 +531,6 @@ TEST_F(MalwareDetailsTest, HTTPCache) {
|
| UnsafeResource resource;
|
| InitResource(&resource, true, GURL(kMalwareURL));
|
|
|
| - profile()->CreateRequestContext();
|
| scoped_refptr<MalwareDetailsWrap> report = new MalwareDetailsWrap(
|
| ui_manager_.get(), web_contents(), resource,
|
| profile()->GetRequestContext());
|
| @@ -594,7 +593,6 @@ 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).
|
| @@ -605,7 +603,6 @@ TEST_F(MalwareDetailsTest, HTTPCacheNoEntries) {
|
| UnsafeResource resource;
|
| InitResource(&resource, true, GURL(kMalwareURL));
|
|
|
| - profile()->CreateRequestContext();
|
| scoped_refptr<MalwareDetailsWrap> report = new MalwareDetailsWrap(
|
| ui_manager_.get(), web_contents(), resource,
|
| profile()->GetRequestContext());
|
|
|