| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index bcfa7c3158c8ce8494405d14230a87912344b255..61f9cdb3234d2f4df452ffe3fb89062bb72564ef 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -3165,7 +3165,7 @@ void WebViewImpl::performPluginAction(const WebPluginAction& action,
|
| if (object && object->isWidget()) {
|
| Widget* widget = toRenderWidget(object)->widget();
|
| if (widget && widget->isPluginContainer()) {
|
| - WebPluginContainerImpl* plugin = static_cast<WebPluginContainerImpl*>(widget);
|
| + WebPluginContainerImpl* plugin = toPluginContainerImpl(widget);
|
| switch (action.type) {
|
| case WebPluginAction::Rotate90Clockwise:
|
| plugin->plugin()->rotateView(WebPlugin::RotationType90Clockwise);
|
|
|