Index: Source/web/win/WebFontRendering.cpp |
diff --git a/Source/web/win/WebFontRendering.cpp b/Source/web/win/WebFontRendering.cpp |
index ed2bab02b4b1d40d9fbb19bd7a25de218b64364f..16cd61c8d38bceef37e3fd2d22df70ad624f2e07 100644 |
--- a/Source/web/win/WebFontRendering.cpp |
+++ b/Source/web/win/WebFontRendering.cpp |
@@ -22,6 +22,12 @@ void WebFontRendering::setDirectWriteFactory(IDWriteFactory* factory) |
} |
// static |
+void WebFontRendering::setDeviceScaleFactor(float deviceScaleFactor) |
+{ |
+ blink::FontCache::setDeviceScaleFactor(deviceScaleFactor); |
+} |
+ |
+// static |
void WebFontRendering::setUseSubpixelPositioning(bool useSubpixelPositioning) |
{ |
blink::FontCache::setUseSubpixelPositioning(useSubpixelPositioning); |