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

Unified Diff: Source/core/layout/LayoutTableCol.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/LayoutTableCol.h ('k') | Source/core/layout/LayoutTableRow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableCol.cpp
diff --git a/Source/core/layout/LayoutTableCol.cpp b/Source/core/layout/LayoutTableCol.cpp
index f6e1ccf7ede9d76a1f202c18ffd364f73ee2399d..379747977b28f19021cc9482560d4615951d94e3 100644
--- a/Source/core/layout/LayoutTableCol.cpp
+++ b/Source/core/layout/LayoutTableCol.cpp
@@ -36,7 +36,7 @@ namespace blink {
using namespace HTMLNames;
LayoutTableCol::LayoutTableCol(Element* element)
- : RenderBox(element)
+ : LayoutBox(element)
, m_span(1)
{
// init LayoutObject attributes
@@ -46,7 +46,7 @@ LayoutTableCol::LayoutTableCol(Element* element)
void LayoutTableCol::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle)
{
- RenderBox::styleDidChange(diff, oldStyle);
+ LayoutBox::styleDidChange(diff, oldStyle);
// If border was changed, notify table.
if (parent()) {
@@ -86,13 +86,13 @@ void LayoutTableCol::updateFromElement()
void LayoutTableCol::insertedIntoTree()
{
- RenderBox::insertedIntoTree();
+ LayoutBox::insertedIntoTree();
table()->addColumn(this);
}
void LayoutTableCol::willBeRemovedFromTree()
{
- RenderBox::willBeRemovedFromTree();
+ LayoutBox::willBeRemovedFromTree();
table()->removeColumn(this);
}
« no previous file with comments | « Source/core/layout/LayoutTableCol.h ('k') | Source/core/layout/LayoutTableRow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698