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

Unified Diff: Source/core/layout/LayoutTableCell.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/LayoutTableCaption.h ('k') | Source/core/layout/LayoutTableCell.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTableCell.h
diff --git a/Source/core/layout/LayoutTableCell.h b/Source/core/layout/LayoutTableCell.h
index 5f5f38a958c6b3c7f20e80ff24f6a796801ac37b..8d8ec250fafaede6301893cdfe14f70e9d9390ba 100644
--- a/Source/core/layout/LayoutTableCell.h
+++ b/Source/core/layout/LayoutTableCell.h
@@ -160,8 +160,8 @@ public:
void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; }
static LayoutTableCell* createAnonymous(Document*);
- static LayoutTableCell* createAnonymousWithParentRenderer(const RenderObject*);
- virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject* parent) const override
+ static LayoutTableCell* createAnonymousWithParentRenderer(const LayoutObject*);
+ virtual RenderBox* createAnonymousBoxWithSameTypeAs(const LayoutObject* parent) const override
{
return createAnonymousWithParentRenderer(parent);
}
@@ -223,7 +223,7 @@ protected:
private:
virtual const char* renderName() const override { return (isAnonymous() || isPseudoElement()) ? "LayoutTableCell (anonymous)" : "LayoutTableCell"; }
- virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectTableCell || RenderBlockFlow::isOfType(type); }
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectTableCell || RenderBlockFlow::isOfType(type); }
virtual void willBeRemovedFromTree() override;
@@ -234,7 +234,7 @@ private:
virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, InlineFlowBox*) const override;
- virtual LayoutSize offsetFromContainer(const RenderObject*, const LayoutPoint&, bool* offsetDependsOnPoint = 0) const override;
+ virtual LayoutSize offsetFromContainer(const LayoutObject*, const LayoutPoint&, bool* offsetDependsOnPoint = 0) const override;
virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const override;
virtual void mapRectToPaintInvalidationBacking(const LayoutLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const override;
@@ -284,16 +284,16 @@ private:
int m_intrinsicPaddingAfter;
};
-DEFINE_RENDER_OBJECT_TYPE_CASTS(LayoutTableCell, isTableCell());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableCell, isTableCell());
inline LayoutTableCell* LayoutTableCell::previousCell() const
{
- return toLayoutTableCell(RenderObject::previousSibling());
+ return toLayoutTableCell(LayoutObject::previousSibling());
}
inline LayoutTableCell* LayoutTableCell::nextCell() const
{
- return toLayoutTableCell(RenderObject::nextSibling());
+ return toLayoutTableCell(LayoutObject::nextSibling());
}
inline LayoutTableCell* LayoutTableRow::firstCell() const
« no previous file with comments | « Source/core/layout/LayoutTableCaption.h ('k') | Source/core/layout/LayoutTableCell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698