Index: Source/core/css/CSSCursorImageValue.cpp |
diff --git a/Source/core/css/CSSCursorImageValue.cpp b/Source/core/css/CSSCursorImageValue.cpp |
index 878fd8910dedff545c93d605d82dc874d3412ab2..33515a3100a0e899696f2bfa849badb05ea37d19 100644 |
--- a/Source/core/css/CSSCursorImageValue.cpp |
+++ b/Source/core/css/CSSCursorImageValue.cpp |
@@ -42,7 +42,7 @@ static inline SVGCursorElement* resourceReferencedByCursorElement(const String& |
{ |
Element* element = SVGURIReference::targetElementFromIRIString(url, document); |
if (element && element->hasTagName(SVGNames::cursorTag)) |
- return static_cast<SVGCursorElement*>(element); |
+ return toSVGCursorElement(element); |
return 0; |
} |