Index: Source/web/WebPluginScrollbarImpl.cpp |
diff --git a/Source/web/WebPluginScrollbarImpl.cpp b/Source/web/WebPluginScrollbarImpl.cpp |
index e7c49da03451b9190b7520cd1f5c6d2c316e91fb..a76e737b784a461322751e35df38a36f469a3169 100644 |
--- a/Source/web/WebPluginScrollbarImpl.cpp |
+++ b/Source/web/WebPluginScrollbarImpl.cpp |
@@ -50,7 +50,7 @@ WebPluginScrollbar* WebPluginScrollbar::createForPlugin(Orientation orientation, |
WebPluginContainer* pluginContainer, |
WebPluginScrollbarClient* client) |
{ |
- WebPluginContainerImpl* plugin = static_cast<WebPluginContainerImpl*>(pluginContainer); |
+ WebPluginContainerImpl* plugin = toPluginContainerImpl(pluginContainer); |
return new WebPluginScrollbarImpl(orientation, plugin->scrollbarGroup(), client); |
} |