Index: Source/platform/fonts/win/FontCacheSkiaWin.cpp |
diff --git a/Source/platform/fonts/win/FontCacheSkiaWin.cpp b/Source/platform/fonts/win/FontCacheSkiaWin.cpp |
index 8851cd1ceedf31e060f192ee7d9cb2c370ba1f68..bb89d69d872503ffd0f1889767f986cc7c88068f 100644 |
--- a/Source/platform/fonts/win/FontCacheSkiaWin.cpp |
+++ b/Source/platform/fonts/win/FontCacheSkiaWin.cpp |
@@ -52,7 +52,7 @@ FontCache::FontCache() |
SkFontMgr* fontManager; |
if (s_useDirectWrite) { |
- fontManager = SkFontMgr_New_DirectWrite(); |
+ fontManager = SkFontMgr_New_DirectWrite(s_directWriteFactory); |
} else { |
fontManager = SkFontMgr_New_GDI(); |
// Subpixel text positioning is not supported by the GDI backend. |