Index: Source/core/rendering/svg/RenderSVGResourceMarker.h |
diff --git a/Source/core/rendering/svg/RenderSVGResourceMarker.h b/Source/core/rendering/svg/RenderSVGResourceMarker.h |
index afe49138aa6b861d1fdf4154827fff8824e60355..625b37a652a3c68fadeda5ca6275431b488a44b9 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceMarker.h |
+++ b/Source/core/rendering/svg/RenderSVGResourceMarker.h |
@@ -73,11 +73,7 @@ private: |
FloatRect m_viewport; |
}; |
-inline RenderSVGResourceMarker* toRenderSVGResourceMarker(RenderSVGResource* resource) |
-{ |
- ASSERT_WITH_SECURITY_IMPLICATION(!resource || resource->resourceType() == MarkerResourceType); |
- return static_cast<RenderSVGResourceMarker*>(resource); |
-} |
+DEFINE_RENDER_SVG_RESOURCE_TYPE_CASTS(RenderSVGResourceMarker, MarkerResourceType); |
} |