Index: Source/web/LinkHighlight.cpp |
diff --git a/Source/web/LinkHighlight.cpp b/Source/web/LinkHighlight.cpp |
index 7e585e5f85bca2fb2c7d22a76a81adf0e14551f0..a944a94db92a1aa2411705e3f297f7e2b1095c0c 100644 |
--- a/Source/web/LinkHighlight.cpp |
+++ b/Source/web/LinkHighlight.cpp |
@@ -28,8 +28,8 @@ |
#include "web/LinkHighlight.h" |
#include "SkMatrix44.h" |
+#include "core/dom/LayoutTreeBuilderTraversal.h" |
#include "core/dom/Node.h" |
-#include "core/dom/NodeRenderingTraversal.h" |
#include "core/frame/FrameView.h" |
#include "core/frame/LocalFrame.h" |
#include "core/layout/LayoutBoxModelObject.h" |
@@ -179,7 +179,7 @@ void LinkHighlight::computeQuads(const Node& node, Vector<FloatQuad>& outQuads) |
// appropriately sized highlight we descend into the children and have them add their |
// boxes. |
if (renderer->isLayoutInline()) { |
- for (Node* child = NodeRenderingTraversal::firstChild(node); child; child = NodeRenderingTraversal::nextSibling(*child)) |
+ for (Node* child = LayoutTreeBuilderTraversal::firstChild(node); child; child = LayoutTreeBuilderTraversal::nextSibling(*child)) |
computeQuads(*child, outQuads); |
} else { |
// FIXME: this does not need to be absolute, just in the paint invalidation container's space. |