| 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 abb98558f9157656e1e021f7520071991312a466..87ea248a246f27ac360edce050bbd46c17e779d6 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().inShadowIncludingDocument())
|
| + if (!inputRange.startPosition().isConnected())
|
| return EphemeralRangeTemplate<Strategy>();
|
| DCHECK_EQ(inputRange.startPosition().document(), inputRange.endPosition().document());
|
|
|
|
|