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

Unified Diff: Source/core/layout/LayoutTableRow.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/LayoutTableRow.h ('k') | Source/core/layout/LayoutTableSection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableRow.cpp
diff --git a/Source/core/layout/LayoutTableRow.cpp b/Source/core/layout/LayoutTableRow.cpp
index b86aada5eddbf2b7a771bb167cf2343edc1d4026..729f5466de2395baf7cf6f329c06c72648101b5e 100644
--- a/Source/core/layout/LayoutTableRow.cpp
+++ b/Source/core/layout/LayoutTableRow.cpp
@@ -40,7 +40,7 @@ namespace blink {
using namespace HTMLNames;
LayoutTableRow::LayoutTableRow(Element* element)
- : RenderBox(element)
+ : LayoutBox(element)
, m_rowIndex(unsetRowIndex)
{
// init LayoutObject attributes
@@ -49,7 +49,7 @@ LayoutTableRow::LayoutTableRow(Element* element)
void LayoutTableRow::willBeRemovedFromTree()
{
- RenderBox::willBeRemovedFromTree();
+ LayoutBox::willBeRemovedFromTree();
section()->setNeedsCellRecalc();
}
@@ -66,7 +66,7 @@ void LayoutTableRow::styleDidChange(StyleDifference diff, const LayoutStyle* old
{
ASSERT(style()->display() == TABLE_ROW);
- RenderBox::styleDidChange(diff, oldStyle);
+ LayoutBox::styleDidChange(diff, oldStyle);
propagateStyleToAnonymousChildren();
if (section() && oldStyle && style()->logicalHeight() != oldStyle->logicalHeight())
@@ -82,7 +82,7 @@ void LayoutTableRow::styleDidChange(StyleDifference diff, const LayoutStyle* old
// If the border width changes on a row, we need to make sure the cells in the row know to lay out again.
// This only happens when borders are collapsed, since they end up affecting the border sides of the cell
// itself.
- for (RenderBox* childBox = firstChildBox(); childBox; childBox = childBox->nextSiblingBox()) {
+ for (LayoutBox* childBox = firstChildBox(); childBox; childBox = childBox->nextSiblingBox()) {
if (!childBox->isTableCell())
continue;
childBox->setChildNeedsLayout();
@@ -149,7 +149,7 @@ void LayoutTableRow::addChild(LayoutObject* child, LayoutObject* beforeChild)
section()->addCell(cell, this);
ASSERT(!beforeChild || beforeChild->isTableCell());
- RenderBox::addChild(cell, beforeChild);
+ LayoutBox::addChild(cell, beforeChild);
if (beforeChild || nextRow())
section()->setNeedsCellRecalc();
« no previous file with comments | « Source/core/layout/LayoutTableRow.h ('k') | Source/core/layout/LayoutTableSection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698