Index: third_party/WebKit/Source/platform/fonts/FontPlatformData.h |
diff --git a/third_party/WebKit/Source/platform/fonts/FontPlatformData.h b/third_party/WebKit/Source/platform/fonts/FontPlatformData.h |
index faf4636cfcb6d23a6c4163f88897ff05e21e36bd..7f5fa71d951982ecbd9ea3e5df18d679d860ba38 100644 |
--- a/third_party/WebKit/Source/platform/fonts/FontPlatformData.h |
+++ b/third_party/WebKit/Source/platform/fonts/FontPlatformData.h |
@@ -39,6 +39,7 @@ |
#include "platform/fonts/FontOrientation.h" |
#include "platform/fonts/SmallCapsIterator.h" |
#include "platform/fonts/opentype/OpenTypeVerticalData.h" |
+#include "third_party/skia/include/core/SkRefCnt.h" |
#include "wtf/Allocator.h" |
#include "wtf/Forward.h" |
#include "wtf/HashTableDeletedValueType.h" |
@@ -87,7 +88,7 @@ public: |
#if OS(MACOSX) |
FontPlatformData(NSFont*, float size, bool syntheticBold = false, bool syntheticItalic = false, FontOrientation = FontOrientation::Horizontal); |
#endif |
- FontPlatformData(PassRefPtr<SkTypeface>, const char* name, float textSize, bool syntheticBold, bool syntheticItalic, FontOrientation = FontOrientation::Horizontal); |
+ FontPlatformData(sk_sp<SkTypeface>, const char* name, float textSize, bool syntheticBold, bool syntheticItalic, FontOrientation = FontOrientation::Horizontal); |
~FontPlatformData(); |
#if OS(MACOSX) |
@@ -141,7 +142,7 @@ private: |
void querySystemForRenderStyle(); |
#endif |
- RefPtr<SkTypeface> m_typeface; |
+ sk_sp<SkTypeface> m_typeface; |
#if !OS(WIN) |
CString m_family; |
#endif |