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

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

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/public/web/win/WebFontRendering.h
diff --git a/third_party/WebKit/public/web/win/WebFontRendering.h b/third_party/WebKit/public/web/win/WebFontRendering.h
index a4933e13871de1dd78ee232f6a3713141a8955ce..cdb39bdaa423ebdb1a5c293df18f11816ce202ad 100644
--- a/third_party/WebKit/public/web/win/WebFontRendering.h
+++ b/third_party/WebKit/public/web/win/WebFontRendering.h
@@ -6,6 +6,7 @@
#define WebFontRendering_h
#include "public/platform/WebCommon.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
class SkFontMgr;
class SkTypeface;
@@ -14,7 +15,7 @@ namespace blink {
class WebFontRendering {
public:
- BLINK_EXPORT static void setSkiaFontManager(SkFontMgr*);
+ BLINK_EXPORT static void setSkiaFontManager(sk_sp<SkFontMgr>);
BLINK_EXPORT static void setDeviceScaleFactor(float);
BLINK_EXPORT static void addSideloadedFontForTesting(SkTypeface*);
BLINK_EXPORT static void setMenuFontMetrics(const wchar_t* familyName,

Powered by Google App Engine
This is Rietveld 408576698