Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index f7541f2b988c4fe02e99078ac573827eac698a31..2df83cd2683403d42b8132d359c85067a3eaa1ab 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); |
} |