Index: Source/core/svg/SVGAElement.cpp |
diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp |
index 0e89ba0140594a62f72dfdc9299ff2dce4a757c0..8f094a2c960e74de4c59f2c284ac94be5cb96fca 100644 |
--- a/Source/core/svg/SVGAElement.cpp |
+++ b/Source/core/svg/SVGAElement.cpp |
@@ -165,7 +165,7 @@ void SVGAElement::defaultEventHandler(Event* event) |
if (url[0] == '#') { |
Element* targetElement = treeScope()->getElementById(url.substring(1)); |
if (SVGSMILElement::isSMILElement(targetElement)) { |
- static_cast<SVGSMILElement*>(targetElement)->beginByLinkActivation(); |
+ toSVGSMILElement(targetElement)->beginByLinkActivation(); |
event->setDefaultHandled(); |
return; |
} |