Index: Source/core/html/HTMLLIElement.cpp |
diff --git a/Source/core/html/HTMLLIElement.cpp b/Source/core/html/HTMLLIElement.cpp |
index 04812a6b7224adccf933f5e4e9078669b6920703..3c0aa5287fd726b11e53cefe8e5433f947dccbd4 100644 |
--- a/Source/core/html/HTMLLIElement.cpp |
+++ b/Source/core/html/HTMLLIElement.cpp |
@@ -26,7 +26,7 @@ |
#include "core/CSSPropertyNames.h" |
#include "core/CSSValueKeywords.h" |
#include "core/HTMLNames.h" |
-#include "core/dom/NodeRenderingTraversal.h" |
+#include "core/dom/LayoutTreeBuilderTraversal.h" |
#include "core/layout/LayoutListItem.h" |
namespace blink { |
@@ -88,7 +88,7 @@ void HTMLLIElement::attach(const AttachContext& context) |
Element* listNode = 0; |
Element* current = this; |
while (!listNode) { |
- current = NodeRenderingTraversal::parentElement(*current); |
+ current = LayoutTreeBuilderTraversal::parentElement(*current); |
if (!current) |
break; |
if (isHTMLUListElement(*current) || isHTMLOListElement(*current)) |