Chromium Code Reviews| 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" |
|
bungeman-chromium
2017/01/10 18:31:14
Unfortunately, this can't really be forward declar
|
| 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, |