| 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 80eb0cf18118fba9920db1ab08d39b91497f36f2..9864c3bd2cdc5b313a86c0a83e6514ca4999a20f 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h
|
| @@ -38,8 +38,8 @@
|
| #include "wtf/Allocator.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/Noncopyable.h"
|
| +#include "wtf/RefCounted.h"
|
| #include "wtf/text/WTFString.h"
|
| -#include <memory>
|
|
|
| class SkTypeface;
|
|
|
| @@ -49,14 +49,14 @@ class FontPlatformData;
|
| class SharedBuffer;
|
| class FontVariationSettings;
|
|
|
| -class PLATFORM_EXPORT FontCustomPlatformData {
|
| +class PLATFORM_EXPORT FontCustomPlatformData
|
| + : public RefCounted<FontCustomPlatformData> {
|
| USING_FAST_MALLOC(FontCustomPlatformData);
|
| WTF_MAKE_NONCOPYABLE(FontCustomPlatformData);
|
|
|
| public:
|
| - static std::unique_ptr<FontCustomPlatformData> create(
|
| - SharedBuffer*,
|
| - String& otsParseMessage);
|
| + static PassRefPtr<FontCustomPlatformData> create(SharedBuffer*,
|
| + String& otsParseMessage);
|
| ~FontCustomPlatformData();
|
|
|
| FontPlatformData fontPlatformData(
|
|
|