Index: Source/core/page/SpatialNavigation.cpp |
diff --git a/Source/core/page/SpatialNavigation.cpp b/Source/core/page/SpatialNavigation.cpp |
index fc7bd0011dd8d2ee78e20e52df33ae2161c15a95..858f5b00764fe299aecc8871b3b7e789900c95c4 100644 |
--- a/Source/core/page/SpatialNavigation.cpp |
+++ b/Source/core/page/SpatialNavigation.cpp |
@@ -427,7 +427,7 @@ bool isScrollableNode(const Node* node) |
return false; |
if (RenderObject* renderer = node->renderer()) |
- return renderer->isBox() && toRenderBox(renderer)->canBeScrolledAndHasScrollableArea() && node->hasChildNodes(); |
+ return renderer->isBox() && toRenderBox(renderer)->canBeScrolledAndHasScrollableArea() && node->hasChildren(); |
return false; |
} |