Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1809)

Unified Diff: Source/web/win/WebFontRendering.cpp

Issue 235553003: Support sideloaded fonts for DirectWrite (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add ForTesting, iterator name Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/fonts/win/FontCacheSkiaWin.cpp ('k') | public/web/win/WebFontRendering.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/platform/fonts/win/FontCacheSkiaWin.cpp ('k') | public/web/win/WebFontRendering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698