Index: third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp |
index e8a60d8448656def99306770033d35ec740fedf0..a2df0b7d7b0bdbe13778aaae6c06bf29fb3be78f 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp |
@@ -32,7 +32,7 @@ |
#include "core/dom/Element.h" |
#include "core/dom/NodeTraversal.h" |
#include "core/dom/Text.h" |
-#include "core/dom/shadow/ComposedTreeTraversal.h" |
+#include "core/dom/shadow/FlatTreeTraversal.h" |
#include "core/html/HTMLDListElement.h" |
#include "core/html/HTMLFieldSetElement.h" |
#include "core/html/HTMLFrameElementBase.h" |
@@ -332,7 +332,7 @@ AccessibilityRole AXNodeObject::nativeAccessibilityRoleIgnoringAria() const |
return DetailsRole; |
if (isHTMLSummaryElement(*node())) { |
- ContainerNode* parent = ComposedTreeTraversal::parent(*node()); |
+ ContainerNode* parent = FlatTreeTraversal::parent(*node()); |
if (parent && isHTMLDetailsElement(parent)) |
return DisclosureTriangleRole; |
return UnknownRole; |