Index: Source/core/page/FocusController.cpp |
diff --git a/Source/core/page/FocusController.cpp b/Source/core/page/FocusController.cpp |
index 4a64def6ea13d2007dc1493a6a6f5885033fe30c..6ca0a1a66b1995e3d9249fe66710ae259695830d 100644 |
--- a/Source/core/page/FocusController.cpp |
+++ b/Source/core/page/FocusController.cpp |
@@ -779,7 +779,7 @@ void FocusController::findFocusCandidateInContainer(Node* container, const Layou |
current.visibleNode = focusedElement; |
for (; element; element = (element->isFrameOwnerElement() || canScrollInDirection(element, direction)) |
- ? ElementTraversal::nextSkippingChildren(element, container) |
+ ? ElementTraversal::nextSkippingChildren(*element, container) |
: ElementTraversal::next(*element, container)) { |
if (element == focusedElement) |
continue; |