| Index: Source/web/TextFinder.cpp
|
| diff --git a/Source/web/TextFinder.cpp b/Source/web/TextFinder.cpp
|
| index 1cd37fc1bc3328b96ac9aa10c11426602d363327..597fdc45dfe16344f146a61627aa9ecf99bef1ee 100644
|
| --- a/Source/web/TextFinder.cpp
|
| +++ b/Source/web/TextFinder.cpp
|
| @@ -242,7 +242,7 @@
|
| // This is a continuation of a scoping operation that timed out and didn't
|
| // complete last time around, so we should start from where we left off.
|
| ASSERT(m_resumeScopingFromRange->collapsed());
|
| - searchStart = m_resumeScopingFromRange->startPosition();
|
| + searchStart = m_resumeScopingFromRange->startPosition().next();
|
| if (searchStart.document() != searchEnd.document())
|
| return;
|
| }
|
| @@ -318,7 +318,7 @@
|
| // result range. There is no need to use a VisiblePosition here,
|
| // since findPlainText will use a TextIterator to go over the visible
|
| // text nodes.
|
| - searchStart = resultEnd;
|
| + searchStart = resultStart.next();
|
|
|
| m_resumeScopingFromRange = Range::create(*resultStart.document(), resultStart, resultStart);
|
| timedOut = (currentTime() - startTime) >= maxScopingDuration;
|
|
|