Index: third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h |
diff --git a/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h b/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h |
index 022879b2a7991960bcc17f3e84997ecfa49f1322..0deab5a309d0c71293da792380fec5454e66fd9d 100644 |
--- a/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h |
+++ b/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h |
@@ -34,10 +34,10 @@ |
#include "platform/PlatformExport.h" |
#include "platform/fonts/FontOrientation.h" |
+#include "third_party/skia/include/core/SkRefCnt.h" |
#include "wtf/Allocator.h" |
#include "wtf/Forward.h" |
#include "wtf/Noncopyable.h" |
-#include "wtf/RefPtr.h" |
#include "wtf/text/WTFString.h" |
#include <memory> |
@@ -60,8 +60,8 @@ public: |
static bool supportsFormat(const String&); |
private: |
- explicit FontCustomPlatformData(PassRefPtr<SkTypeface>); |
- RefPtr<SkTypeface> m_typeface; |
+ explicit FontCustomPlatformData(sk_sp<SkTypeface>); |
+ sk_sp<SkTypeface> m_typeface; |
}; |
} // namespace blink |