Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.h |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.h b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.h |
index b6923ef937d9907360a26a68e6d34b09bb4c0b3f..2aa13672ba40c7806033a42eed70efd225d9cf06 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.h |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.h |
@@ -68,6 +68,9 @@ class PLATFORM_EXPORT ShapeResult : public RefCounted<ShapeResult> { |
LayoutUnit SnappedWidth() const { return LayoutUnit::FromFloatCeil(width_); } |
const FloatRect& Bounds() const { return glyph_bounding_box_; } |
unsigned NumCharacters() const { return num_characters_; } |
+ // The character start/end index of a range shape result. |
+ unsigned StartIndexForResult() const; |
+ unsigned EndIndexForResult() const; |
void FallbackFonts(HashSet<const SimpleFontData*>*) const; |
TextDirection Direction() const { |
return static_cast<TextDirection>(direction_); |