| Index: Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
|
| index e9275cd70b31c69fa9b4d69fb38bceb80fa7a742..a5f100b6a3309f2537508f37680d72e46be3a238 100644
|
| --- a/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/Source/web/WebPluginContainerImpl.cpp
|
| @@ -194,7 +194,7 @@ void WebPluginContainerImpl::handleEvent(Event* event)
|
| else if (event->isKeyboardEvent())
|
| handleKeyboardEvent(toKeyboardEvent(event));
|
| else if (eventNames().isTouchEventType(event->type()))
|
| - handleTouchEvent(static_cast<TouchEvent*>(event));
|
| + handleTouchEvent(toTouchEvent(event));
|
| else if (eventNames().isGestureEventType(event->type()))
|
| handleGestureEvent(static_cast<GestureEvent*>(event));
|
|
|
| @@ -856,7 +856,7 @@ void WebPluginContainerImpl::synthesizeMouseEventIfPossible(TouchEvent* event)
|
|
|
| void WebPluginContainerImpl::focusPlugin()
|
| {
|
| - Frame& containingFrame = static_cast<FrameView*>(parent())->frame();
|
| + Frame& containingFrame = toFrameView(parent())->frame();
|
| if (Page* currentPage = containingFrame.page())
|
| currentPage->focusController().setFocusedElement(m_element, &containingFrame);
|
| else
|
|
|