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

Unified Diff: Source/core/layout/LayoutTableSection.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/LayoutTableSection.h ('k') | Source/core/layout/LayoutTextControl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableSection.cpp
diff --git a/Source/core/layout/LayoutTableSection.cpp b/Source/core/layout/LayoutTableSection.cpp
index 619fe1084704c71ec70371e1d8c8a063eb04ecaa..92a18543d5e7219270099f4878fbaa04d69a19c3 100644
--- a/Source/core/layout/LayoutTableSection.cpp
+++ b/Source/core/layout/LayoutTableSection.cpp
@@ -78,7 +78,7 @@ row, const LayoutTableCell* cell)
}
LayoutTableSection::LayoutTableSection(Element* element)
- : RenderBox(element)
+ : LayoutBox(element)
, m_cCol(0)
, m_cRow(0)
, m_outerBorderStart(0)
@@ -99,7 +99,7 @@ LayoutTableSection::~LayoutTableSection()
void LayoutTableSection::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle)
{
- RenderBox::styleDidChange(diff, oldStyle);
+ LayoutBox::styleDidChange(diff, oldStyle);
propagateStyleToAnonymousChildren();
// If border was changed, notify table.
@@ -110,7 +110,7 @@ void LayoutTableSection::styleDidChange(StyleDifference diff, const LayoutStyle*
void LayoutTableSection::willBeRemovedFromTree()
{
- RenderBox::willBeRemovedFromTree();
+ LayoutBox::willBeRemovedFromTree();
// Preventively invalidate our cells as we may be re-inserted into
// a new table which would require us to rebuild our structure.
@@ -174,7 +174,7 @@ void LayoutTableSection::addChild(LayoutObject* child, LayoutObject* beforeChild
beforeChild = splitAnonymousBoxesAroundChild(beforeChild);
ASSERT(!beforeChild || beforeChild->isTableRow());
- RenderBox::addChild(child, beforeChild);
+ LayoutBox::addChild(child, beforeChild);
}
void LayoutTableSection::ensureRows(unsigned numRows)
@@ -917,7 +917,7 @@ int LayoutTableSection::distributeExtraLogicalHeightToRows(int extraLogicalHeigh
static bool shouldFlexCellChild(LayoutObject* cellDescendant)
{
- return cellDescendant->isReplaced() || (cellDescendant->isBox() && toRenderBox(cellDescendant)->scrollsOverflow());
+ return cellDescendant->isReplaced() || (cellDescendant->isBox() && toLayoutBox(cellDescendant)->scrollsOverflow());
}
void LayoutTableSection::layoutRows()
« no previous file with comments | « Source/core/layout/LayoutTableSection.h ('k') | Source/core/layout/LayoutTextControl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698