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

Unified Diff: third_party/WebKit/Source/core/loader/resource/FontResourceTest.cpp

Issue 2592363002: FontResourceTest: call unregisterURL() respectively (Closed)
Patch Set: Created 4 years 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/resource/FontResourceTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/resource/FontResourceTest.cpp b/third_party/WebKit/Source/core/loader/resource/FontResourceTest.cpp
index b30d380b392983c74e948f79743843941ed9b870..1bdd8e40b7516747b3d1d23a2a5f0021c3d826fe 100644
--- a/third_party/WebKit/Source/core/loader/resource/FontResourceTest.cpp
+++ b/third_party/WebKit/Source/core/loader/resource/FontResourceTest.cpp
@@ -83,6 +83,8 @@ TEST_F(FontResourceTest,
EXPECT_FALSE(resource2->errorOccurred());
memoryCache()->remove(resource1);
+
+ Platform::current()->getURLLoaderMockFactory()->unregisterURL(url);
kinuko 2016/12/22 06:37:43 Do we rather want to have unregisterAllURLs() in F
Takashi Toyoshima 2016/12/22 07:02:59 Done.
}
// Tests if cache-aware font loading works correctly.

Powered by Google App Engine
This is Rietveld 408576698