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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (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
Index: Source/core/editing/iterators/BitStack.cpp
diff --git a/Source/core/editing/iterators/BitStack.cpp b/Source/core/editing/iterators/BitStack.cpp
index b61197facc7f4f6b5332baff8cf780eca6ea568d..afde1b33d60996a8884b5ffe8055bc59d71ff2fc 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/LayoutObject.h"
#include "core/rendering/RenderBox.h"
-#include "core/rendering/RenderObject.h"
namespace blink {
@@ -49,7 +49,7 @@ static unsigned depthCrossingShadowBoundaries(Node* node)
static inline bool fullyClipsContents(Node* node)
{
- RenderObject* renderer = node->renderer();
+ LayoutObject* renderer = node->renderer();
if (!renderer || !renderer->isBox() || !renderer->hasOverflowClip())
return false;
return toRenderBox(renderer)->size().isEmpty();
@@ -57,7 +57,7 @@ static inline bool fullyClipsContents(Node* node)
static inline bool ignoresContainerClip(Node* node)
{
- RenderObject* renderer = node->renderer();
+ LayoutObject* renderer = node->renderer();
if (!renderer || renderer->isText())
return false;
return renderer->style()->hasOutOfFlowPosition();
« no previous file with comments | « Source/core/editing/htmlediting.cpp ('k') | Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698