Index: Source/core/rendering/svg/SVGRootInlineBox.h |
diff --git a/Source/core/rendering/svg/SVGRootInlineBox.h b/Source/core/rendering/svg/SVGRootInlineBox.h |
index 4576b5069e8b09c42ad63a1db5486734be8432df..efbe2f6b79bfdf6ae0a266cc4018fd0b6c919a08 100644 |
--- a/Source/core/rendering/svg/SVGRootInlineBox.h |
+++ b/Source/core/rendering/svg/SVGRootInlineBox.h |
@@ -62,11 +62,7 @@ private: |
float m_logicalHeight; |
}; |
-inline SVGRootInlineBox* toSVGRootInlineBox(RootInlineBox* box) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!box || box->isSVGRootInlineBox()); |
- return static_cast<SVGRootInlineBox*>(box); |
-} |
+DEFINE_INLINE_BOX_TYPE_CASTS(SVGRootInlineBox); |
} // namespace WebCore |