Index: Source/platform/text/TextBreakIterator.h |
diff --git a/Source/platform/text/TextBreakIterator.h b/Source/platform/text/TextBreakIterator.h |
index fc11ba8f85322eefa95de07ff319098d2442a8c1..8883cfdc235afdd1b05d511653b3004d7b6c6fb5 100644 |
--- a/Source/platform/text/TextBreakIterator.h |
+++ b/Source/platform/text/TextBreakIterator.h |
@@ -255,6 +255,9 @@ private: |
// of a non-combining character and following combining characters is |
// counted as 1 grapheme cluster. |
PLATFORM_EXPORT unsigned numGraphemeClusters(const String&); |
+// Returns the number of characters which will be less than or equal to |
+// the specified grapheme cluster length. |
+PLATFORM_EXPORT unsigned numCharactersInGraphemeClusters(const String&, unsigned); |
} |