| Index: third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h
|
| diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h
|
| index aeff02db3375801cdcfe6545256cc71dd813ca73..f81bb8fed902e50b89d21c3fbbd61b9589dc192d 100644
|
| --- a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h
|
| +++ b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h
|
| @@ -38,9 +38,8 @@ namespace blink {
|
| class LayoutText;
|
| class TextIteratorBehavior;
|
|
|
| -class CORE_EXPORT TextIteratorTextState {
|
| - STACK_ALLOCATED();
|
| -
|
| +class CORE_EXPORT TextIteratorTextState
|
| + : public GarbageCollectedFinalized<TextIteratorTextState> {
|
| public:
|
| explicit TextIteratorTextState(const TextIteratorBehavior&);
|
| ~TextIteratorTextState() {}
|
| @@ -79,6 +78,8 @@ class CORE_EXPORT TextIteratorTextState {
|
| unsigned position,
|
| unsigned length_to_append) const;
|
|
|
| + DECLARE_TRACE();
|
| +
|
| private:
|
| int text_length_ = 0;
|
| String text_;
|
|
|