Index: Source/core/rendering/RenderTableRow.h |
diff --git a/Source/core/rendering/RenderTableRow.h b/Source/core/rendering/RenderTableRow.h |
index 8f385fafa9de2c522574adc768ab19e1db1b3ab9..735f903c62701fbf26f89a76ec0045f1a3d631a4 100644 |
--- a/Source/core/rendering/RenderTableRow.h |
+++ b/Source/core/rendering/RenderTableRow.h |
@@ -115,20 +115,7 @@ private: |
unsigned m_rowIndex : 31; |
}; |
-inline RenderTableRow* toRenderTableRow(RenderObject* object) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableRow()); |
- return static_cast<RenderTableRow*>(object); |
-} |
- |
-inline const RenderTableRow* toRenderTableRow(const RenderObject* object) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableRow()); |
- return static_cast<const RenderTableRow*>(object); |
-} |
- |
-// This will catch anyone doing an unnecessary cast. |
-void toRenderTableRow(const RenderTableRow*); |
+DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableRow, isTableRow()); |
} // namespace WebCore |