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

Unified Diff: Source/core/layout/LayoutTableRow.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
« 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 f774a1f1bfc279c41aedd0393edfa3af0fd3c292..ddb35773ec78ada56a1ed1d6cd55067b2a9e5cae 100644
--- a/Source/core/layout/LayoutTableRow.cpp
+++ b/Source/core/layout/LayoutTableRow.cpp
@@ -43,7 +43,7 @@ LayoutTableRow::LayoutTableRow(Element* element)
: RenderBox(element)
, m_rowIndex(unsetRowIndex)
{
- // init RenderObject attributes
+ // init LayoutObject attributes
setInline(false); // our object is not Inline
}
@@ -105,10 +105,10 @@ const BorderValue& LayoutTableRow::borderAdjoiningEndCell(const LayoutTableCell*
return style()->borderEnd();
}
-void LayoutTableRow::addChild(RenderObject* child, RenderObject* beforeChild)
+void LayoutTableRow::addChild(LayoutObject* child, LayoutObject* beforeChild)
{
if (!child->isTableCell()) {
- RenderObject* last = beforeChild;
+ LayoutObject* last = beforeChild;
if (!last)
last = lastCell();
if (last && last->isAnonymous() && last->isTableCell() && !last->isBeforeOrAfterContent()) {
@@ -120,7 +120,7 @@ void LayoutTableRow::addChild(RenderObject* child, RenderObject* beforeChild)
}
if (beforeChild && !beforeChild->isAnonymous() && beforeChild->parent() == this) {
- RenderObject* cell = beforeChild->previousSibling();
+ LayoutObject* cell = beforeChild->previousSibling();
if (cell && cell->isTableCell() && cell->isAnonymous()) {
cell->addChild(child);
return;
@@ -231,7 +231,7 @@ LayoutTableRow* LayoutTableRow::createAnonymous(Document* document)
return renderer;
}
-LayoutTableRow* LayoutTableRow::createAnonymousWithParentRenderer(const RenderObject* parent)
+LayoutTableRow* LayoutTableRow::createAnonymousWithParentRenderer(const LayoutObject* parent)
{
LayoutTableRow* newRow = LayoutTableRow::createAnonymous(&parent->document());
RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(parent->style(), TABLE_ROW);
« 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