Index: Source/core/rendering/svg/RenderSVGResourceClipper.h |
diff --git a/Source/core/rendering/svg/RenderSVGResourceClipper.h b/Source/core/rendering/svg/RenderSVGResourceClipper.h |
index 38fb13f25b9ab2f80883e8916fe9b5568072efe3..ae89b1e3df5e5bf33b5ab8dfc5e733bd6b48c7a5 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceClipper.h |
+++ b/Source/core/rendering/svg/RenderSVGResourceClipper.h |
@@ -86,11 +86,7 @@ private: |
bool m_inClipExpansion; |
}; |
-inline RenderSVGResourceClipper* toRenderSVGResourceClipper(RenderSVGResource* resource) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!resource || resource->resourceType() == ClipperResourceType); |
- return static_cast<RenderSVGResourceClipper*>(resource); |
-} |
+DEFINE_RENDER_SVG_RESOURCE_TYPE_CASTS(RenderSVGResourceClipper, ClipperResourceType); |
} |