Index: Source/core/rendering/svg/RenderSVGResourceClipper.h |
diff --git a/Source/core/rendering/svg/RenderSVGResourceClipper.h b/Source/core/rendering/svg/RenderSVGResourceClipper.h |
index 32e4971c9fef1caf2921c50e0c850fc88f32ad5a..69ee9865220a65a4369cf1da26cd3bbb93caf5be 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceClipper.h |
+++ b/Source/core/rendering/svg/RenderSVGResourceClipper.h |
@@ -52,7 +52,7 @@ public: |
bool hitTestClipContent(const FloatRect&, const FloatPoint&); |
- SVGUnitTypes::SVGUnitType clipPathUnits() const { return static_cast<SVGClipPathElement*>(node())->clipPathUnitsCurrentValue(); } |
+ SVGUnitTypes::SVGUnitType clipPathUnits() const { return toSVGClipPathElement(node())->clipPathUnitsCurrentValue(); } |
static RenderSVGResourceType s_resourceType; |
private: |