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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp

Issue 2588403002: TestingPlatformSupport: register Platform instance correctly (Closed)
Patch Set: review #32 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
Index: third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp b/third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp
index 8f2dc92fdd4cc426ba4019d967d3142cba85a34f..ba35d668c32687d05bd0136e580ada734325706c 100644
--- a/third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontCacheTest.cpp
@@ -12,18 +12,10 @@
namespace blink {
-class EmptyPlatform : public TestingPlatformSupport {
- public:
- EmptyPlatform() {}
- ~EmptyPlatform() override {}
-};
-
TEST(FontCache, getLastResortFallbackFont) {
FontCache* fontCache = FontCache::fontCache();
ASSERT_TRUE(fontCache);
- EmptyPlatform platform;
-
FontDescription fontDescription;
fontDescription.setGenericFamily(FontDescription::StandardFamily);
RefPtr<SimpleFontData> fontData =

Powered by Google App Engine
This is Rietveld 408576698