Index: Source/core/rendering/svg/RenderSVGResourceMarker.h |
diff --git a/Source/core/rendering/svg/RenderSVGResourceMarker.h b/Source/core/rendering/svg/RenderSVGResourceMarker.h |
index b0cdcc1fad26a47b7391798aa0d1a8eac89bf410..409c65dbc3a9aa6cff249351753ee7707412cb25 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceMarker.h |
+++ b/Source/core/rendering/svg/RenderSVGResourceMarker.h |
@@ -59,7 +59,7 @@ public: |
FloatPoint referencePoint() const; |
float angle() const; |
- SVGMarkerUnitsType markerUnits() const { return static_cast<SVGMarkerElement*>(node())->markerUnitsCurrentValue(); } |
+ SVGMarkerUnitsType markerUnits() const { return toSVGMarkerElement(node())->markerUnitsCurrentValue(); } |
virtual RenderSVGResourceType resourceType() const { return s_resourceType; } |
static RenderSVGResourceType s_resourceType; |