Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1632)

Unified Diff: third_party/WebKit/Source/web/tests/MHTMLTest.cpp

Issue 2683033005: URLLoaderMockFactory: clear MemoryCache in unregisterAllURLs (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/MHTMLTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/MHTMLTest.cpp b/third_party/WebKit/Source/web/tests/MHTMLTest.cpp
index ff98f0e0d7f507e9467fa6418ebcd5d5ea7810f8..ed08424e75a88248bcab9a5b2fb4f7121f4c4cf6 100644
--- a/third_party/WebKit/Source/web/tests/MHTMLTest.cpp
+++ b/third_party/WebKit/Source/web/tests/MHTMLTest.cpp
@@ -40,7 +40,6 @@
#include "platform/weborigin/KURL.h"
#include "platform/weborigin/SchemeRegistry.h"
#include "public/platform/Platform.h"
-#include "public/platform/WebCache.h"
#include "public/platform/WebString.h"
#include "public/platform/WebURL.h"
#include "public/platform/WebURLLoaderMockFactory.h"
@@ -90,7 +89,6 @@ class MHTMLTest : public ::testing::Test {
void TearDown() override {
Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
- WebCache::clear();
}
void registerMockedURLLoad(const std::string& url,

Powered by Google App Engine
This is Rietveld 408576698