Index: third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp |
diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp |
index d4f9296d8bad7fcb4d1b69be320a362d9346ac36..e6cc3b103b01324e621b9241d2307396364f661e 100644 |
--- a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp |
+++ b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp |
@@ -36,6 +36,11 @@ TextIteratorTextState::TextIteratorTextState( |
const TextIteratorBehavior& behavior) |
: behavior_(behavior) {} |
+DEFINE_TRACE(TextIteratorTextState) { |
+ visitor->Trace(position_node_); |
+ visitor->Trace(position_offset_base_node_); |
+} |
+ |
UChar TextIteratorTextState::CharacterAt(unsigned index) const { |
SECURITY_DCHECK(index < static_cast<unsigned>(length())); |
if (!(index < static_cast<unsigned>(length()))) |