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 dc11a4ce7ac288f625653775a0481069bdf74071..022879b2a7991960bcc17f3e84997ecfa49f1322 100644 |
--- a/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h |
+++ b/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h |
@@ -39,6 +39,7 @@ |
#include "wtf/Noncopyable.h" |
#include "wtf/RefPtr.h" |
#include "wtf/text/WTFString.h" |
+#include <memory> |
class SkTypeface; |
@@ -51,7 +52,7 @@ class PLATFORM_EXPORT FontCustomPlatformData { |
USING_FAST_MALLOC(FontCustomPlatformData); |
WTF_MAKE_NONCOPYABLE(FontCustomPlatformData); |
public: |
- static PassOwnPtr<FontCustomPlatformData> create(SharedBuffer*, String& otsParseMessage); |
+ static std::unique_ptr<FontCustomPlatformData> create(SharedBuffer*, String& otsParseMessage); |
~FontCustomPlatformData(); |
FontPlatformData fontPlatformData(float size, bool bold, bool italic, FontOrientation = FontOrientation::Horizontal); |