| Index: Source/core/rendering/RenderTableSection.h
|
| diff --git a/Source/core/rendering/RenderTableSection.h b/Source/core/rendering/RenderTableSection.h
|
| index c7b0bc0f65d20b767a92efe092f224c54ab0d7ba..42b51ec6b3ee80d667186bb70662ffe31553fcc4 100644
|
| --- a/Source/core/rendering/RenderTableSection.h
|
| +++ b/Source/core/rendering/RenderTableSection.h
|
| @@ -308,20 +308,7 @@ private:
|
| HashMap<pair<const RenderTableCell*, int>, CollapsedBorderValue > m_cellsCollapsedBorders;
|
| };
|
|
|
| -inline RenderTableSection* toRenderTableSection(RenderObject* object)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableSection());
|
| - return static_cast<RenderTableSection*>(object);
|
| -}
|
| -
|
| -inline const RenderTableSection* toRenderTableSection(const RenderObject* object)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableSection());
|
| - return static_cast<const RenderTableSection*>(object);
|
| -}
|
| -
|
| -// This will catch anyone doing an unnecessary cast.
|
| -void toRenderTableSection(const RenderTableSection*);
|
| +DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableSection, isTableSection());
|
|
|
| } // namespace WebCore
|
|
|
|
|