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

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

Issue 1682813004: Revert of Add plumbing in blink to allow overriding the default font collection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: third_party/WebKit/Source/web/win/WebFontRendering.cpp
diff --git a/third_party/WebKit/Source/web/win/WebFontRendering.cpp b/third_party/WebKit/Source/web/win/WebFontRendering.cpp
index 829473e8657d5be8e3e3d4d63a4439a0c4260403..758922b38cd422b771edeeb46d4ee335e3710d0b 100644
--- a/third_party/WebKit/Source/web/win/WebFontRendering.cpp
+++ b/third_party/WebKit/Source/web/win/WebFontRendering.cpp
@@ -15,10 +15,9 @@
}
// static
-void WebFontRendering::setSkiaFontManager(SkFontMgr* fontMgr)
+void WebFontRendering::setDirectWriteFactory(IDWriteFactory* factory)
{
- adopted(fontMgr);
- FontCache::setFontManager(RefPtr<SkFontMgr>(fontMgr));
+ FontCache::setDirectWriteFactory(factory);
}
// static

Powered by Google App Engine
This is Rietveld 408576698