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

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

Issue 2618443002: Remove use of legacy SkFontMgr factories. (Closed)
Patch Set: Another include. Created 3 years, 11 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/linux/WebFontRendering.cpp
diff --git a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
index 398fc3153a2e8c93d307c07a73be0a842f2e2932..8a901e8b0497c932200d023ea41e6e35e41e65c6 100644
--- a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
+++ b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
@@ -41,9 +41,8 @@ using blink::FontPlatformData;
namespace blink {
// static
-void WebFontRendering::setSkiaFontManager(SkFontMgr* fontMgr) {
- WTF::adopted(fontMgr);
- FontCache::setFontManager(sk_ref_sp(fontMgr));
+void WebFontRendering::setSkiaFontManager(sk_sp<SkFontMgr> fontMgr) {
+ FontCache::setFontManager(std::move(fontMgr));
}
// static

Powered by Google App Engine
This is Rietveld 408576698