Index: third_party/WebKit/Source/web/WebAXObject.cpp |
diff --git a/third_party/WebKit/Source/web/WebAXObject.cpp b/third_party/WebKit/Source/web/WebAXObject.cpp |
index 3d73721c2c4f442c867eae224ef68234e45fc1b4..9d8e9c695a7624d099b3ae1906d29864441b4013 100644 |
--- a/third_party/WebKit/Source/web/WebAXObject.cpp |
+++ b/third_party/WebKit/Source/web/WebAXObject.cpp |
@@ -932,7 +932,7 @@ void WebAXObject::showContextMenu() const |
element = toElement(node); |
} else { |
node->updateDistribution(); |
- ContainerNode* parent = ComposedTreeTraversal::parent(*node); |
+ ContainerNode* parent = FlatTreeTraversal::parent(*node); |
ASSERT_WITH_SECURITY_IMPLICATION(parent->isElementNode()); |
element = toElement(parent); |
} |