Index: Source/platform/fonts/Font.cpp |
diff --git a/Source/platform/fonts/Font.cpp b/Source/platform/fonts/Font.cpp |
index 88c4f71a6def11586e82b315304c61657a0e71b9..86dbf78f3702005c3fbaf49e1749356a6747bba6 100644 |
--- a/Source/platform/fonts/Font.cpp |
+++ b/Source/platform/fonts/Font.cpp |
@@ -245,11 +245,11 @@ CodePath Font::codePath(const TextRun& run) const |
return Character::characterRangeCodePath(run.characters16(), run.length()); |
} |
-void Font::willUseFontData() const |
+void Font::willUseFontData(const String& text) const |
{ |
const FontFamily& family = fontDescription().family(); |
if (m_fontFallbackList && m_fontFallbackList->fontSelector() && !family.familyIsEmpty()) |
- m_fontFallbackList->fontSelector()->willUseFontData(fontDescription(), family.family()); |
+ m_fontFallbackList->fontSelector()->willUseFontData(fontDescription(), family.family(), text); |
} |
static inline bool isInRange(UChar32 character, UChar32 lowerBound, UChar32 upperBound) |