Index: Source/core/editing/iterators/BitStack.cpp |
diff --git a/Source/core/editing/iterators/BitStack.cpp b/Source/core/editing/iterators/BitStack.cpp |
index afde1b33d60996a8884b5ffe8055bc59d71ff2fc..64d5a345d8d2c96b4f497c73b5f30ac4b9988446 100644 |
--- a/Source/core/editing/iterators/BitStack.cpp |
+++ b/Source/core/editing/iterators/BitStack.cpp |
@@ -29,8 +29,8 @@ |
#include "core/dom/ContainerNode.h" |
#include "core/dom/Node.h" |
+#include "core/layout/LayoutBox.h" |
#include "core/layout/LayoutObject.h" |
-#include "core/rendering/RenderBox.h" |
namespace blink { |
@@ -52,7 +52,7 @@ static inline bool fullyClipsContents(Node* node) |
LayoutObject* renderer = node->renderer(); |
if (!renderer || !renderer->isBox() || !renderer->hasOverflowClip()) |
return false; |
- return toRenderBox(renderer)->size().isEmpty(); |
+ return toLayoutBox(renderer)->size().isEmpty(); |
} |
static inline bool ignoresContainerClip(Node* node) |