Index: Source/core/rendering/svg/SVGInlineFlowBox.h |
diff --git a/Source/core/rendering/svg/SVGInlineFlowBox.h b/Source/core/rendering/svg/SVGInlineFlowBox.h |
index 3623a4ace200ce3f93260ed8cf0abdf05221dcd3..e76a9ccdafc8e7ce0822ab1fd0e8a00d09e7621f 100644 |
--- a/Source/core/rendering/svg/SVGInlineFlowBox.h |
+++ b/Source/core/rendering/svg/SVGInlineFlowBox.h |
@@ -50,11 +50,7 @@ private: |
float m_logicalHeight; |
}; |
-inline SVGInlineFlowBox* toSVGInlineFlowBox(InlineBox* box) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!box || box->isSVGInlineFlowBox()); |
- return static_cast<SVGInlineFlowBox*>(box); |
-} |
+DEFINE_INLINE_BOX_TYPE_CASTS(SVGInlineFlowBox); |
} // namespace WebCore |