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

Unified Diff: Source/core/layout/LayoutTable.h

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/LayoutSliderThumb.h ('k') | Source/core/layout/LayoutTable.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTable.h
diff --git a/Source/core/layout/LayoutTable.h b/Source/core/layout/LayoutTable.h
index f870db32c333e089fd0139c0220a7eb328b3fa97..e4b9bb34c66a3d7f668f9a8e99359c21f230efc1 100644
--- a/Source/core/layout/LayoutTable.h
+++ b/Source/core/layout/LayoutTable.h
@@ -122,8 +122,8 @@ public:
int calcBorderEnd() const;
void recalcBordersInRowDirection();
- virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) override;
- virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild = 0) override;
+ virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) override;
+ virtual void addChildIgnoringContinuation(LayoutObject* newChild, LayoutObject* beforeChild = 0) override;
struct ColumnStruct {
explicit ColumnStruct(unsigned initialSpan = 1)
@@ -256,8 +256,8 @@ public:
recalcSections();
}
- static LayoutTable* createAnonymousWithParentRenderer(const RenderObject*);
- virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject* parent) const override
+ static LayoutTable* createAnonymousWithParentRenderer(const LayoutObject*);
+ virtual RenderBox* createAnonymousBoxWithSameTypeAs(const LayoutObject* parent) const override
{
return createAnonymousWithParentRenderer(parent);
}
@@ -285,7 +285,7 @@ protected:
private:
virtual const char* renderName() const override { return "LayoutTable"; }
- virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectTable || RenderBlock::isOfType(type); }
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectTable || RenderBlock::isOfType(type); }
virtual void paintObject(const PaintInfo&, const LayoutPoint&) override;
virtual void layout() override;
@@ -362,7 +362,7 @@ inline LayoutTableSection* LayoutTable::topSection() const
return m_foot;
}
-DEFINE_RENDER_OBJECT_TYPE_CASTS(LayoutTable, isTable());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable());
} // namespace blink
« no previous file with comments | « Source/core/layout/LayoutSliderThumb.h ('k') | Source/core/layout/LayoutTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698