Index: third_party/WebKit/Source/core/css/FontFace.h |
diff --git a/third_party/WebKit/Source/core/css/FontFace.h b/third_party/WebKit/Source/core/css/FontFace.h |
index c9d51d307ea3aa5204c4755919ec1b7d94248dfc..3ab15078a06d39d08f61a85836ae23764e6850aa 100644 |
--- a/third_party/WebKit/Source/core/css/FontFace.h |
+++ b/third_party/WebKit/Source/core/css/FontFace.h |
@@ -50,6 +50,7 @@ class DOMArrayBuffer; |
class DOMArrayBufferView; |
class Document; |
class ExceptionState; |
+class FontDescription; |
class FontFaceDescriptors; |
class StringOrArrayBufferOrArrayBufferView; |
class StylePropertySet; |
@@ -94,6 +95,8 @@ public: |
DOMException* error() const { return m_error; } |
FontTraits traits() const; |
CSSFontFace* cssFontFace() { return m_cssFontFace.get(); } |
+ bool isBlank() const; |
+ bool willUseFontData(const FontDescription&, const String& text); |
DECLARE_VIRTUAL_TRACE(); |
@@ -145,6 +148,7 @@ private: |
Member<LoadedProperty> m_loadedProperty; |
Member<CSSFontFace> m_cssFontFace; |
HeapVector<Member<LoadFontCallback>> m_callbacks; |
+ unsigned m_charCount = 0; |
}; |
using FontFaceArray = HeapVector<Member<FontFace>>; |