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 72187c6c3cc7f1c2deba1dfcfb85bbf31b531645..b984214d062e7dddd927f168d8d6b7cc27b429c8 100644 |
--- a/third_party/WebKit/Source/platform/text/TextBreakIterator.h |
+++ b/third_party/WebKit/Source/platform/text/TextBreakIterator.h |
@@ -57,7 +57,8 @@ enum class LineBreakType { |
KeepAll, // word-break:keep-all doesn't allow breaks between all kind of letters/numbers except some south east asians'. |
}; |
-class PLATFORM_EXPORT LazyLineBreakIterator { |
+class PLATFORM_EXPORT LazyLineBreakIterator final { |
+ STACK_ALLOCATED(); |
public: |
LazyLineBreakIterator() |
: m_iterator(0) |
@@ -199,7 +200,8 @@ private: |
// version 4.0 only supports "legacy grapheme clusters". |
// Use this for general text processing, e.g. string truncation. |
-class PLATFORM_EXPORT NonSharedCharacterBreakIterator { |
+class PLATFORM_EXPORT NonSharedCharacterBreakIterator final { |
+ STACK_ALLOCATED(); |
WTF_MAKE_NONCOPYABLE(NonSharedCharacterBreakIterator); |
public: |
explicit NonSharedCharacterBreakIterator(const String&); |