Index: Source/core/accessibility/AXObject.cpp |
diff --git a/Source/core/accessibility/AXObject.cpp b/Source/core/accessibility/AXObject.cpp |
index 645d886053c0f331e57822afabb9acd466199c57..1c247f6cb0658f79118d2aba496946f222f02182 100644 |
--- a/Source/core/accessibility/AXObject.cpp |
+++ b/Source/core/accessibility/AXObject.cpp |
@@ -526,7 +526,7 @@ AXObject* AXObject::firstAccessibleObjectFromNode(const Node* node) |
AXObjectCache* cache = node->document().axObjectCache(); |
AXObject* accessibleObject = cache->getOrCreate(node->renderer()); |
while (accessibleObject && accessibleObject->accessibilityIsIgnored()) { |
- node = NodeTraversal::next(node); |
+ node = NodeTraversal::next(*node); |
while (node && !node->renderer()) |
node = NodeTraversal::nextSkippingChildren(node); |