Index: Source/platform/fonts/win/FontCacheSkiaWin.cpp |
=================================================================== |
--- Source/platform/fonts/win/FontCacheSkiaWin.cpp (revision 169561) |
+++ Source/platform/fonts/win/FontCacheSkiaWin.cpp (working copy) |
@@ -50,7 +50,7 @@ |
// Prefer DirectWrite (if runtime feature is enabled) but fallback |
// to GDI on platforms where DirectWrite is not supported. |
if (RuntimeEnabledFeatures::directWriteEnabled()) |
- fontManager = SkFontMgr_New_DirectWrite(); |
+ fontManager = SkFontMgr::RefDefault(); |
// Subpixel text positioning is not supported by the GDI backend. |
m_useSubpixelPositioning = fontManager |