summaryrefslogtreecommitdiffstats
path: root/WebCore/page/SpatialNavigation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/SpatialNavigation.cpp')
-rw-r--r--WebCore/page/SpatialNavigation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/page/SpatialNavigation.cpp b/WebCore/page/SpatialNavigation.cpp
index ffc65b4..c7bdb51 100644
--- a/WebCore/page/SpatialNavigation.cpp
+++ b/WebCore/page/SpatialNavigation.cpp
@@ -626,7 +626,7 @@ bool canBeScrolledIntoView(FocusDirection direction, const FocusCandidate& candi
{
ASSERT(candidate.node && candidate.isOffscreen);
IntRect candidateRect = candidate.rect;
- for (Node* parentNode = candidate.node->parentNode(); parentNode; parentNode = parentNode->parentNode()) {
+ for (Node* parentNode = candidate.node->parent(); parentNode; parentNode = parentNode->parent()) {
IntRect parentRect = nodeRectInAbsoluteCoordinates(parentNode);
if (!candidateRect.intersects(parentRect)) {
if (((direction == FocusDirectionLeft || direction == FocusDirectionRight) && parentNode->renderer()->style()->overflowX() == OHIDDEN)