Index: third_party/WebKit/Source/web/win/WebFontRendering.cpp |
diff --git a/third_party/WebKit/Source/web/win/WebFontRendering.cpp b/third_party/WebKit/Source/web/win/WebFontRendering.cpp |
index 758922b38cd422b771edeeb46d4ee335e3710d0b..4117d7214de12664cfbda219fd0582ae68e647f0 100644 |
--- a/third_party/WebKit/Source/web/win/WebFontRendering.cpp |
+++ b/third_party/WebKit/Source/web/win/WebFontRendering.cpp |
@@ -21,6 +21,12 @@ void WebFontRendering::setDirectWriteFactory(IDWriteFactory* factory) |
} |
// static |
+void WebFontRendering::setSkiaFontManager(const skia::RefPtr<SkFontMgr>& fontManager) |
+{ |
+ FontCache::setFontManager(fontManager); |
+} |
+ |
+// static |
void WebFontRendering::setDeviceScaleFactor(float deviceScaleFactor) |
{ |
FontCache::setDeviceScaleFactor(deviceScaleFactor); |