Index: Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResourcePattern.cpp b/Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
index d4965442e1ee1f7254bcee75f4990ee82fb6ae64..9f09fe9ac3097aaafcef6b11deee42422e6e9ea6 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
@@ -58,7 +58,7 @@ PatternData* RenderSVGResourcePattern::buildPattern(RenderObject* object, unsign |
if (currentData && currentData->pattern) |
return currentData; |
- SVGPatternElement* patternElement = static_cast<SVGPatternElement*>(node()); |
+ SVGPatternElement* patternElement = toSVGPatternElement(node()); |
if (!patternElement) |
return 0; |