Index: Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.h |
diff --git a/Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.h b/Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.h |
index c44b1e725b9f58e5b99e95fd5233c4fe2b8581c2..e2edf3f852d08363859833e2d202a691589e0c9c 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.h |
+++ b/Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.h |
@@ -53,7 +53,7 @@ public: |
RenderObject* filter = parent(); |
if (!filter || !filter->isSVGResourceFilter()) |
return; |
- static_cast<RenderSVGResourceFilter*>(filter)->primitiveAttributeChanged(this, attribute); |
+ toRenderSVGResourceFilter(filter)->primitiveAttributeChanged(this, attribute); |
} |
}; |