Index: Source/platform/fonts/Font.cpp |
diff --git a/Source/platform/fonts/Font.cpp b/Source/platform/fonts/Font.cpp |
index 5ee5e3bc2178439359efe0f6f685a9d759e1423a..fcf0d6448827e7020f7a94cd709879e699c2c9b5 100644 |
--- a/Source/platform/fonts/Font.cpp |
+++ b/Source/platform/fonts/Font.cpp |
@@ -707,7 +707,8 @@ |
int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat, |
bool includePartialGlyphs) const |
{ |
- HarfBuzzShaper shaper(this, run); |
+ HashSet<const SimpleFontData*> fallbackFonts; |
+ HarfBuzzShaper shaper(this, run, &fallbackFonts); |
RefPtr<ShapeResult> shapeResult = shaper.shapeResult(); |
if (!shapeResult) |
return 0; |