Index: Source/platform/text/TextBreakIterator.h |
diff --git a/Source/platform/text/TextBreakIterator.h b/Source/platform/text/TextBreakIterator.h |
index f0c952840a9a64520bcfcc5bc20ff6d71652fffa..b8144c4e215d8d676da033683d83a68ac6215567 100644 |
--- a/Source/platform/text/TextBreakIterator.h |
+++ b/Source/platform/text/TextBreakIterator.h |
@@ -28,7 +28,7 @@ |
namespace WebCore { |
-class TextBreakIterator; |
+typedef icu::BreakIterator TextBreakIterator; |
// Note: The returned iterator is good only until you get another iterator, with the exception of acquireLineBreakIterator. |
@@ -45,14 +45,6 @@ PLATFORM_EXPORT TextBreakIterator* acquireLineBreakIterator(const UChar*, int le |
PLATFORM_EXPORT void releaseLineBreakIterator(TextBreakIterator*); |
PLATFORM_EXPORT TextBreakIterator* sentenceBreakIterator(const UChar*, int length); |
-PLATFORM_EXPORT int textBreakFirst(TextBreakIterator*); |
-PLATFORM_EXPORT int textBreakLast(TextBreakIterator*); |
-PLATFORM_EXPORT int textBreakNext(TextBreakIterator*); |
-PLATFORM_EXPORT int textBreakPrevious(TextBreakIterator*); |
-PLATFORM_EXPORT int textBreakCurrent(TextBreakIterator*); |
-PLATFORM_EXPORT int textBreakPreceding(TextBreakIterator*, int); |
-PLATFORM_EXPORT int textBreakFollowing(TextBreakIterator*, int); |
-PLATFORM_EXPORT bool isTextBreak(TextBreakIterator*, int); |
PLATFORM_EXPORT bool isWordTextBreak(TextBreakIterator*); |
const int TextBreakDone = -1; |