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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp

Issue 2657583004: ResourceFetcherTest: cleanup finalization (Closed)
Patch Set: review #9 Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/FetchTestingPlatformSupport.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp
index 6c2195464b50734b006d9594a3e60fc15417b1cd..5159d4ec955ce15bebeaab04347537380cd8993b 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp
@@ -75,12 +75,7 @@ constexpr int kTestResourceSize = 103; // size of web/tests/data/white-1x1.png
class ResourceFetcherTest : public ::testing::Test {
public:
ResourceFetcherTest() = default;
- ~ResourceFetcherTest() override = default;
-
- void TearDown() override {
- m_platform->getURLLoaderMockFactory()->unregisterAllURLs();
- memoryCache()->evictResources();
- }
+ ~ResourceFetcherTest() override { memoryCache()->evictResources(); }
protected:
MockFetchContext* context() { return m_platform->context(); }
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/FetchTestingPlatformSupport.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698