Index: third_party/WebKit/Source/platform/fonts/Font.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/Font.cpp b/third_party/WebKit/Source/platform/fonts/Font.cpp |
index 094bfebbf39e69345ef7fd0f02338c4c10a0ff84..fcfdd472773a76be93923020df85b876c563e493 100644 |
--- a/third_party/WebKit/Source/platform/fonts/Font.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/Font.cpp |
@@ -470,11 +470,11 @@ bool Font::computeCanShapeWordByWord() const |
return !platformData.hasSpaceInLigaturesOrKerning(features); |
}; |
-void Font::willUseFontData(UChar32 character) const |
+void Font::willUseFontData(const String& text) const |
{ |
const FontFamily& family = getFontDescription().family(); |
if (m_fontFallbackList && m_fontFallbackList->getFontSelector() && !family.familyIsEmpty()) |
- m_fontFallbackList->getFontSelector()->willUseFontData(getFontDescription(), family.family(), character); |
+ m_fontFallbackList->getFontSelector()->willUseFontData(getFontDescription(), family.family(), text); |
} |
static inline GlyphData glyphDataForNonCJKCharacterWithGlyphOrientation(UChar32 character, bool isUpright, GlyphData& data, unsigned pageNumber) |