Index: third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp b/third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp |
index 9969d71c66281e5f8e84cd9d34f8573340f75966..f104c50b4de9411822bc0c00faddbdfda26059e2 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLTablePartElement.cpp |
@@ -30,7 +30,7 @@ |
#include "core/css/CSSImageValue.h" |
#include "core/css/StylePropertySet.h" |
#include "core/dom/Document.h" |
-#include "core/dom/shadow/ComposedTreeTraversal.h" |
+#include "core/dom/shadow/FlatTreeTraversal.h" |
#include "core/html/HTMLTableElement.h" |
#include "core/html/parser/HTMLParserIdioms.h" |
#include "platform/weborigin/Referrer.h" |
@@ -89,9 +89,9 @@ void HTMLTablePartElement::collectStyleForPresentationAttribute(const QualifiedN |
HTMLTableElement* HTMLTablePartElement::findParentTable() const |
{ |
- ContainerNode* parent = ComposedTreeTraversal::parent(*this); |
+ ContainerNode* parent = FlatTreeTraversal::parent(*this); |
while (parent && !isHTMLTableElement(*parent)) |
- parent = ComposedTreeTraversal::parent(*parent); |
+ parent = FlatTreeTraversal::parent(*parent); |
return toHTMLTableElement(parent); |
} |