Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Unified Diff: Source/core/editing/iterators/BitStack.cpp

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/editing/EditorCommand.cpp ('k') | Source/core/editing/iterators/TextIterator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/core/editing/EditorCommand.cpp ('k') | Source/core/editing/iterators/TextIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698