| Index: Source/web/WebFrameImpl.cpp
|
| diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp
|
| index 2741daa25f8d9e57bf9c099a05df190e180ad94c..f78f5a56e1026314fad181862763621ffae506f5 100644
|
| --- a/Source/web/WebFrameImpl.cpp
|
| +++ b/Source/web/WebFrameImpl.cpp
|
| @@ -2319,7 +2319,7 @@ void WebFrameImpl::setFindEndstateFocusAndSelection()
|
| // This, for example, sets focus to the first link if you search for
|
| // text and text that is within one or more links.
|
| node = m_activeMatch->firstNode();
|
| - for (; node && node != m_activeMatch->pastLastNode(); node = NodeTraversal::next(node)) {
|
| + for (; node && node != m_activeMatch->pastLastNode(); node = NodeTraversal::next(*node)) {
|
| if (!node->isElementNode())
|
| continue;
|
| Element* element = toElement(node);
|
|
|