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

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

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: Patch for landing Created 7 years, 3 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 | « no previous file | Source/core/platform/graphics/FontCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/graphics/FontCache.h
diff --git a/Source/core/platform/graphics/FontCache.h b/Source/core/platform/graphics/FontCache.h
index 905f1cbd0525ce39fc3c35c84b2fc21c6dd0c658..1c6975f0eecfa548b01db88adaff40f38f683109 100644
--- a/Source/core/platform/graphics/FontCache.h
+++ b/Source/core/platform/graphics/FontCache.h
@@ -45,6 +45,10 @@
#include <mlang.h>
#endif
+#if OS(WINDOWS) && !ENABLE(GDI_FONTS_ON_WINDOWS)
+#include "SkFontMgr.h"
+#endif
+
class SkTypeface;
namespace WebCore {
@@ -139,6 +143,10 @@ private:
// Don't purge if this count is > 0;
int m_purgePreventCount;
+#if OS(WINDOWS) && !ENABLE(GDI_FONTS_ON_WINDOWS)
+ OwnPtr<SkFontMgr> m_fontManager;
+#endif
+
#if OS(DARWIN) || OS(ANDROID)
friend class ComplexTextController;
#endif
« no previous file with comments | « no previous file | Source/core/platform/graphics/FontCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698