| 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 f9d370e090bb93bd096353fedefa6cbe7692c1ea..8a16da3ab19fbd582c8eeb7704466ec342ea556b 100644
|
| --- a/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp
|
| @@ -423,7 +423,7 @@ template <typename Strategy>
|
| static EphemeralRangeTemplate<Strategy> findPlainTextAlgorithm(const EphemeralRangeTemplate<Strategy>& inputRange, const String& target, FindOptions options)
|
| {
|
| // CharacterIterator requires layoutObjects to be up-to-date.
|
| - if (!inputRange.startPosition().inDocument())
|
| + if (!inputRange.startPosition().inShadowIncludingDocument())
|
| return EphemeralRangeTemplate<Strategy>();
|
| ASSERT(inputRange.startPosition().document() == inputRange.endPosition().document());
|
|
|
|
|