| Index: Source/web/WebFrameImpl.cpp
|
| diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp
|
| index 8a611c08c2e6928459a77feef36f5cd562d848fc..441b36e9a27e66b2f702fb0528171fb6e95350a5 100644
|
| --- a/Source/web/WebFrameImpl.cpp
|
| +++ b/Source/web/WebFrameImpl.cpp
|
| @@ -1718,7 +1718,7 @@ void WebFrameImpl::scopeStringMatches(int identifier, const WebString& searchTex
|
|
|
| Node* shadowTreeRoot = searchRange->shadowRoot();
|
| if (searchRange->collapsed(exceptionState) && shadowTreeRoot)
|
| - searchRange->setEnd(shadowTreeRoot, shadowTreeRoot->childNodeCount(), exceptionState);
|
| + searchRange->setEnd(shadowTreeRoot, shadowTreeRoot->countChildren(), exceptionState);
|
|
|
| m_resumeScopingFromRange = resultRange;
|
| timedOut = (currentTime() - startTime) >= maxScopingDuration;
|
|
|