Index: third_party/WebKit/Source/platform/fonts/WebFontDecoder.h |
diff --git a/third_party/WebKit/Source/platform/fonts/WebFontDecoder.h b/third_party/WebKit/Source/platform/fonts/WebFontDecoder.h |
index ff2d6a8f0d744bf2cde9961bb72e6d3502991426..6cbef4b2f66763002efc8ceed90ad57d09328e52 100644 |
--- a/third_party/WebKit/Source/platform/fonts/WebFontDecoder.h |
+++ b/third_party/WebKit/Source/platform/fonts/WebFontDecoder.h |
@@ -31,9 +31,9 @@ |
#ifndef WebFontDecoder_h |
#define WebFontDecoder_h |
+#include "third_party/skia/include/core/SkRefCnt.h" |
#include "third_party/skia/include/core/SkTypeface.h" |
#include "wtf/Allocator.h" |
-#include "wtf/RefPtr.h" |
#include "wtf/text/WTFString.h" |
namespace blink { |
@@ -47,7 +47,7 @@ public: |
{ |
} |
- PassRefPtr<SkTypeface> decode(SharedBuffer*); |
+ sk_sp<SkTypeface> decode(SharedBuffer*); |
static bool supportsFormat(const String&); |
String getErrorString() const { return m_otsErrorString; } |