Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / win / WebFontRendering.cpp
index a171a41..f5a02fd 100644 (file)
@@ -16,9 +16,21 @@ void WebFontRendering::setUseDirectWrite(bool useDirectWrite)
 }
 
 // static
+void WebFontRendering::setDirectWriteFactory(IDWriteFactory* factory)
+{
+    WebCore::FontCache::setDirectWriteFactory(factory);
+}
+
+// static
 void WebFontRendering::setUseSubpixelPositioning(bool useSubpixelPositioning)
 {
     WebCore::FontCache::setUseSubpixelPositioning(useSubpixelPositioning);
 }
 
+// static
+void WebFontRendering::addSideloadedFontForTesting(SkTypeface* typeface)
+{
+    WebCore::FontCache::addSideloadedFontForTesting(typeface);
+}
+
 } // namespace blink