Index: Source/platform/fonts/Font.cpp |
diff --git a/Source/platform/fonts/Font.cpp b/Source/platform/fonts/Font.cpp |
index 606fc1ce7b184dd85a3767832c99f3ab3c069fae..5962cdc9376fd9a45d78eaf44fb09479c91db4f3 100644 |
--- a/Source/platform/fonts/Font.cpp |
+++ b/Source/platform/fonts/Font.cpp |
@@ -942,4 +942,14 @@ int Font::offsetForPositionForSimpleText(const TextRun& run, float x, bool inclu |
return offset; |
} |
+bool Font::loadingCustomFonts() const |
+{ |
+ return m_fontFallbackList && m_fontFallbackList->loadingCustomFonts(); |
+} |
+ |
+bool Font::isFallbackValid() const |
+{ |
+ return !m_fontFallbackList || m_fontFallbackList->isValid(); |
+} |
+ |
} // namespace blink |