Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index cc96c6190d80850526247ed6ca935edcd17069fa..9e16c0a21caa9e1a2609ec38b68ba83832232b91 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -702,7 +702,7 @@ void WebPluginContainerImpl::handleMouseEvent(MouseEvent* event) |
Page* page = parentView->frame().page(); |
if (!page) |
return; |
- ChromeClientImpl* chromeClient = static_cast<ChromeClientImpl*>(&page->chrome().client()); |
+ ChromeClientImpl* chromeClient = toChromeClientImpl(&page->chrome().client()); |
chromeClient->setCursorForPlugin(cursorInfo); |
} |