| Index: third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp b/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| index 69bc7851635c2843cc2a421890729ff86b32017a..dfa646c695064d3b442c1a82a571456368686d6d 100644
|
| --- a/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| @@ -168,9 +168,7 @@ TextIteratorAlgorithm<Strategy>::TextIteratorAlgorithm(
|
| m_handleShadowRoot(false),
|
| m_firstLetterStartOffset(kInvalidOffset),
|
| m_remainingTextStartOffset(kInvalidOffset),
|
| - // The call to emitsOriginalText() must occur after m_behavior is
|
| - // initialized.
|
| - m_textState(emitsOriginalText()) {
|
| + m_textState(m_behavior) {
|
| DCHECK(start.isNotNull());
|
| DCHECK(end.isNotNull());
|
|
|
|
|