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

Unified Diff: Source/core/platform/graphics/FontCache.cpp

Issue 23480016: Switch non-gdi windows font path to use new SkFontMgr (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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: Source/core/platform/graphics/FontCache.cpp
diff --git a/Source/core/platform/graphics/FontCache.cpp b/Source/core/platform/graphics/FontCache.cpp
index 49a1c4130986a03cf5db71b4049e374fa96f7cc2..aa3972c886afe43d24bd35ce0c353cc31f40494b 100644
--- a/Source/core/platform/graphics/FontCache.cpp
+++ b/Source/core/platform/graphics/FontCache.cpp
@@ -53,11 +53,17 @@ FontCache* fontCache()
return &globalFontCache;
}
+#if !OS(WINDOWS) || ENABLE(GDI_FONTS_ON_WINDOWS)
FontCache::FontCache()
: m_purgePreventCount(0)
{
}
+FontCache::~FontCache()
+{
+}
+#endif // !OS(WINDOWS) || ENABLE(GDI_FONTS_ON_WINDOWS)
+
struct FontPlatformDataCacheKey {
WTF_MAKE_FAST_ALLOCATED;
public:

Powered by Google App Engine
This is Rietveld 408576698