Index: Source/platform/fonts/shaping/CachingWordShaper.h |
diff --git a/Source/platform/fonts/shaping/CachingWordShaper.h b/Source/platform/fonts/shaping/CachingWordShaper.h |
index 7c2c61fc89bad069b5baf6e2dd21a0eef47bc548..37f750d46d8e7fca50cd7b0ce95447e1ef384582 100644 |
--- a/Source/platform/fonts/shaping/CachingWordShaper.h |
+++ b/Source/platform/fonts/shaping/CachingWordShaper.h |
@@ -49,6 +49,7 @@ public: |
float width(const Font*, const TextRun&, |
HashSet<const SimpleFontData*>* fallbackFonts, |
FloatRect* glyphBounds); |
+ int offsetForPosition(const Font*, const TextRun&, float targetX); |
float fillGlyphBuffer(const Font*, const TextRun&, |
HashSet<const SimpleFontData*>*, GlyphBuffer*, |
unsigned from, unsigned to); |