Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index ac4d65aa7aaeb3b359746d3cbe096126fbbcc726..b248be293e416836aa62e0ffe8d0ad303f0151ce 100644 |
--- a/Source/web/ChromeClientImpl.cpp |
+++ b/Source/web/ChromeClientImpl.cpp |
@@ -586,7 +586,7 @@ void ChromeClientImpl::mouseDidMoveOverElement( |
if (object && object->isWidget()) { |
Widget* widget = toRenderWidget(object)->widget(); |
if (widget && widget->isPluginContainer()) { |
- WebPluginContainerImpl* plugin = static_cast<WebPluginContainerImpl*>(widget); |
+ WebPluginContainerImpl* plugin = toPluginContainerImpl(widget); |
url = plugin->plugin()->linkAtPosition(result.roundedPointInInnerNodeFrame()); |
} |
} |