Index: third_party/WebKit/Source/platform/text/TextBreakIterator.h |
diff --git a/third_party/WebKit/Source/platform/text/TextBreakIterator.h b/third_party/WebKit/Source/platform/text/TextBreakIterator.h |
index 88b63e5d0e4ddaab69e0175caf3feda533251424..3a587a541269fb4e331fe5909a55998c5e717371 100644 |
--- a/third_party/WebKit/Source/platform/text/TextBreakIterator.h |
+++ b/third_party/WebKit/Source/platform/text/TextBreakIterator.h |
@@ -217,6 +217,11 @@ class PLATFORM_EXPORT LazyLineBreakIterator final { |
return IsBreakable(pos, next_breakable, break_type_); |
} |
+ inline bool IsBreakable(int pos) const { |
+ int next_breakable = -1; |
+ return IsBreakable(pos, next_breakable, break_type_); |
+ } |
+ |
// Returns the break opportunity at or after |offset|. |
unsigned NextBreakOpportunity(unsigned offset) const; |