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

Unified Diff: third_party/WebKit/Source/core/loader/PingLoaderTest.cpp

Issue 2683033005: URLLoaderMockFactory: clear MemoryCache in unregisterAllURLs (Closed)
Patch Set: fix 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/core/loader/PingLoaderTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoaderTest.cpp b/third_party/WebKit/Source/core/loader/PingLoaderTest.cpp
index 41ffc4579815822b1d5b012c4f912c4f7e0984d7..c5128a422dcbf4e8cd60f9c8c9c771942bf2288f 100644
--- a/third_party/WebKit/Source/core/loader/PingLoaderTest.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoaderTest.cpp
@@ -41,7 +41,9 @@ class PingLoaderTest : public ::testing::Test {
}
void TearDown() override {
- Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
+ Platform::current()
+ ->getURLLoaderMockFactory()
+ ->unregisterAllURLsAndClearMemoryCache();
}
void setDocumentURL(const KURL& url) {

Powered by Google App Engine
This is Rietveld 408576698