| 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 cffa247cc3045af52f4715d03e85aeb66f58dc2c..055ded0d719971cd0b4b7c8eda94dd6e3e74bee5 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h
|
| @@ -64,11 +64,13 @@ class PLATFORM_EXPORT FontCustomPlatformData {
|
| bool italic,
|
| FontOrientation = FontOrientation::Horizontal);
|
|
|
| + size_t dataSize() const { return m_dataSize; }
|
| static bool supportsFormat(const String&);
|
|
|
| private:
|
| - explicit FontCustomPlatformData(sk_sp<SkTypeface>);
|
| + FontCustomPlatformData(sk_sp<SkTypeface>, size_t dataSize);
|
| sk_sp<SkTypeface> m_typeface;
|
| + size_t m_dataSize;
|
| };
|
|
|
| } // namespace blink
|
|
|