Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h |
index 6dcb22d7321d233e8e0e0a7334cc6f66f2c34146..6079827a3ff9b0119ee61fe25564c426fe896a2d 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h |
@@ -51,14 +51,20 @@ class PLATFORM_EXPORT ShapeResultBuffer { |
Vector<CharacterRange> individualCharacterRanges(TextDirection, |
float totalWidth) const; |
- static CharacterRange getCharacterRange( |
+ static CharacterRange getCharacterRange(RefPtr<const ShapeResult>, |
+ TextDirection, |
+ float totalWidth, |
+ unsigned from, |
+ unsigned to); |
+ |
+ private: |
+ static CharacterRange getCharacterRangeInternal( |
const Vector<RefPtr<const ShapeResult>, 64>&, |
TextDirection, |
float totalWidth, |
unsigned from, |
unsigned to); |
- private: |
float fillFastHorizontalGlyphBuffer(GlyphBuffer*, const TextRun&) const; |
template <TextDirection> |