Index: Source/web/win/WebFontRendering.cpp |
diff --git a/Source/web/win/WebFontRendering.cpp b/Source/web/win/WebFontRendering.cpp |
index 6af08c6e9befd478dc346c67aea49c79265947f3..f5a02fd4c0748cf414c60ba942c82813671bd17f 100644 |
--- a/Source/web/win/WebFontRendering.cpp |
+++ b/Source/web/win/WebFontRendering.cpp |
@@ -27,4 +27,10 @@ void WebFontRendering::setUseSubpixelPositioning(bool useSubpixelPositioning) |
WebCore::FontCache::setUseSubpixelPositioning(useSubpixelPositioning); |
} |
+// static |
+void WebFontRendering::addSideloadedFontForTesting(SkTypeface* typeface) |
+{ |
+ WebCore::FontCache::addSideloadedFontForTesting(typeface); |
+} |
+ |
} // namespace blink |