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

Unified Diff: Source/core/layout/LayoutObjectChildList.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/layout/LayoutObjectChildList.h ('k') | Source/core/layout/LayoutReplaced.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutObjectChildList.cpp
diff --git a/Source/core/layout/LayoutObjectChildList.cpp b/Source/core/layout/LayoutObjectChildList.cpp
index 6cd665d46569dd0477caf0ed1bff5dbe6957eb14..86943e7b2dd710862ec73e88fc83bb61a958775f 100644
--- a/Source/core/layout/LayoutObjectChildList.cpp
+++ b/Source/core/layout/LayoutObjectChildList.cpp
@@ -58,7 +58,7 @@ LayoutObject* LayoutObjectChildList::removeChildNode(LayoutObject* owner, Layout
ASSERT(this == owner->virtualChildren());
if (oldChild->isFloatingOrOutOfFlowPositioned())
- toRenderBox(oldChild)->removeFloatingOrPositionedChildFromBlockLists();
+ toLayoutBox(oldChild)->removeFloatingOrPositionedChildFromBlockLists();
{
// So that we'll get the appropriate dirty bit set (either that a normal flow child got yanked or
@@ -72,7 +72,7 @@ LayoutObject* LayoutObjectChildList::removeChildNode(LayoutObject* owner, Layout
// If we have a line box wrapper, delete it.
if (oldChild->isBox())
- toRenderBox(oldChild)->deleteLineBoxWrapper();
+ toLayoutBox(oldChild)->deleteLineBoxWrapper();
// If oldChild is the start or end of the selection, then clear the selection to
// avoid problems of invalid pointers.
« no previous file with comments | « Source/core/layout/LayoutObjectChildList.h ('k') | Source/core/layout/LayoutReplaced.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698