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