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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/FetchTestingPlatformSupport.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/platform/loader/fetch/FetchTestingPlatformSupport.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/FetchTestingPlatformSupport.cpp b/third_party/WebKit/Source/platform/loader/fetch/FetchTestingPlatformSupport.cpp
index 5193aef759cbdc9ae6c7a9ba34a23c5107766674..78bbf33838ba8d8e206b6de4e1d53d0e7bdde0aa 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/FetchTestingPlatformSupport.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/FetchTestingPlatformSupport.cpp
@@ -22,7 +22,7 @@ FetchTestingPlatformSupport::~FetchTestingPlatformSupport() {
// Shutdowns WebURLLoaderMockFactory gracefully, serving all pending requests
// first, then flushing all registered URLs.
m_urlLoaderMockFactory->serveAsynchronousRequests();
- m_urlLoaderMockFactory->unregisterAllURLs();
+ m_urlLoaderMockFactory->unregisterAllURLsAndClearMemoryCache();
}
MockFetchContext* FetchTestingPlatformSupport::context() {

Powered by Google App Engine
This is Rietveld 408576698