| Index: third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp b/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
|
| index 9d60f34ce5e7e1c066fca6eb99a23b9cf2e98fe7..11ee7e096e9eb7a9c8bc6a28c2e87b1bc1d4f6c2 100644
|
| --- a/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
|
| @@ -414,7 +414,7 @@ tryAgain:
|
| return matchLength;
|
| }
|
|
|
| -static const TextIteratorBehaviorFlags iteratorFlagsForFindPlainText = TextIteratorEntersTextControls | TextIteratorEntersOpenShadowRoots | TextIteratorDoesNotBreakAtReplacedElement;
|
| +static const TextIteratorBehaviorFlags iteratorFlagsForFindPlainText = TextIteratorEntersTextControls | TextIteratorEntersOpenShadowRoots | TextIteratorDoesNotBreakAtReplacedElement | TextIteratorCollapseTrailingSpace;
|
|
|
| template <typename Strategy>
|
| static EphemeralRangeTemplate<Strategy> findPlainTextAlgorithm(const EphemeralRangeTemplate<Strategy>& inputRange, const String& target, FindOptions options)
|
|
|