Index: Source/core/fetch/FontResource.h |
diff --git a/Source/core/fetch/FontResource.h b/Source/core/fetch/FontResource.h |
index e5606a9446c50e533bb874c7e47d8dfb72ed8b70..40b2e03aa1a50500af7e3289d5c0671025405801 100644 |
--- a/Source/core/fetch/FontResource.h |
+++ b/Source/core/fetch/FontResource.h |
@@ -61,6 +61,7 @@ public: |
void setCORSFailed() override { m_corsFailed = true; } |
bool isCORSFailed() const { return m_corsFailed; } |
+ String otsParsingMessage() const { return m_otsParsingMessage; } |
bool ensureCustomFontData(); |
FontPlatformData platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation = FontOrientation::Horizontal); |
@@ -87,6 +88,7 @@ private: |
enum State { Unloaded, LoadScheduled, LoadInitiated }; |
OwnPtr<FontCustomPlatformData> m_fontData; |
+ String m_otsParsingMessage; |
State m_state; |
bool m_exceedsFontLoadWaitLimit; |
bool m_corsFailed; |