Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index 19b2200ff781b8149e553d5250a3b66ea8e71f25..ecc6e87e07f4c27762b007e4e52502cd36debb77 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -1887,7 +1887,7 @@ static inline SVGElementInstance* instanceAssociatedWithShadowTreeElement(Node* |
if (!shadowTreeParentElement || !shadowTreeParentElement->hasTagName(useTag)) |
return 0; |
- return static_cast<SVGUseElement*>(shadowTreeParentElement)->instanceForShadowTreeElement(referenceNode); |
+ return toSVGUseElement(shadowTreeParentElement)->instanceForShadowTreeElement(referenceNode); |
} |
void EventHandler::updateMouseEventTargetNode(Node* targetNode, const PlatformMouseEvent& mouseEvent, bool fireMouseOverOut) |