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

Unified Diff: third_party/WebKit/public/web/linux/WebFontRendering.h

Issue 2618443002: Remove use of legacy SkFontMgr factories. (Closed)
Patch Set: Address comments. 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/public/web/linux/WebFontRendering.h
diff --git a/third_party/WebKit/public/web/linux/WebFontRendering.h b/third_party/WebKit/public/web/linux/WebFontRendering.h
index d52b018b10508a476c81d18091df7a1a3fab5579..f3097e68e1d0ef46d02aa7994c3a9a4629a29492 100644
--- a/third_party/WebKit/public/web/linux/WebFontRendering.h
+++ b/third_party/WebKit/public/web/linux/WebFontRendering.h
@@ -42,7 +42,7 @@ class WebFontRendering {
public:
// Set global font renderering preferences.
- BLINK_EXPORT static void setSkiaFontManager(SkFontMgr*);
+ BLINK_EXPORT static void setSkiaFontManager(sk_sp<SkFontMgr>);
BLINK_EXPORT static void setHinting(SkPaint::Hinting);
BLINK_EXPORT static void setAutoHint(bool);
BLINK_EXPORT static void setUseBitmaps(bool);

Powered by Google App Engine
This is Rietveld 408576698