| Index: third_party/WebKit/Source/platform/fonts/FontCache.h
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontCache.h b/third_party/WebKit/Source/platform/fonts/FontCache.h
|
| index 52bb119028db32fbf8110454e3864967fcc1abfa..189d3e00fcee5417a894fe8d921b557a23c71995 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontCache.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontCache.h
|
| @@ -44,6 +44,7 @@
|
| #include "wtf/text/Unicode.h"
|
| #include "wtf/text/WTFString.h"
|
| #include <limits.h>
|
| +#include <memory>
|
|
|
| #include "SkFontMgr.h"
|
|
|
| @@ -172,8 +173,8 @@ private:
|
| FontPlatformData* getFontPlatformData(const FontDescription&, const FontFaceCreationParams&, bool checkingAlternateName = false);
|
|
|
| // These methods are implemented by each platform.
|
| - PassOwnPtr<FontPlatformData> createFontPlatformData(const FontDescription&, const FontFaceCreationParams&, float fontSize);
|
| - PassOwnPtr<FontPlatformData> scaleFontPlatformData(const FontPlatformData&, const FontDescription&, const FontFaceCreationParams&, float fontSize);
|
| + std::unique_ptr<FontPlatformData> createFontPlatformData(const FontDescription&, const FontFaceCreationParams&, float fontSize);
|
| + std::unique_ptr<FontPlatformData> scaleFontPlatformData(const FontPlatformData&, const FontDescription&, const FontFaceCreationParams&, float fontSize);
|
|
|
| // Implemented on skia platforms.
|
| PassRefPtr<SkTypeface> createTypeface(const FontDescription&, const FontFaceCreationParams&, CString& name);
|
|
|