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

Unified Diff: Source/platform/fonts/win/FontCacheSkiaWin.cpp

Issue 213223003: Add ability to pass through IDWriteFactory so sandbox can control how it's constructed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/FontCache.cpp ('k') | Source/web/win/WebFontRendering.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/win/FontCacheSkiaWin.cpp
diff --git a/Source/platform/fonts/win/FontCacheSkiaWin.cpp b/Source/platform/fonts/win/FontCacheSkiaWin.cpp
index 8851cd1ceedf31e060f192ee7d9cb2c370ba1f68..bb89d69d872503ffd0f1889767f986cc7c88068f 100644
--- a/Source/platform/fonts/win/FontCacheSkiaWin.cpp
+++ b/Source/platform/fonts/win/FontCacheSkiaWin.cpp
@@ -52,7 +52,7 @@ FontCache::FontCache()
SkFontMgr* fontManager;
if (s_useDirectWrite) {
- fontManager = SkFontMgr_New_DirectWrite();
+ fontManager = SkFontMgr_New_DirectWrite(s_directWriteFactory);
} else {
fontManager = SkFontMgr_New_GDI();
// Subpixel text positioning is not supported by the GDI backend.
« no previous file with comments | « Source/platform/fonts/FontCache.cpp ('k') | Source/web/win/WebFontRendering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698