| Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| index 4c0a6e9e061dc452ca7eaa548090c21cc3ebd070..7802cd487bbc30deeef86de85c1bef7fb4cb9b58 100644
|
| --- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| @@ -711,7 +711,7 @@ void WebPluginContainerImpl::HandleMouseEvent(MouseEvent* event) {
|
| FrameView* parent_view = ToFrameView(Parent());
|
|
|
| WebMouseEventBuilder transformed_event(
|
| - this, LayoutItem(element_->GetLayoutObject()), *event);
|
| + ToFrameView(Parent()), LayoutItem(element_->GetLayoutObject()), *event);
|
| if (transformed_event.GetType() == WebInputEvent::kUndefined)
|
| return;
|
|
|
| @@ -882,8 +882,8 @@ void WebPluginContainerImpl::HandleGestureEvent(GestureEvent* event) {
|
| }
|
|
|
| void WebPluginContainerImpl::SynthesizeMouseEventIfPossible(TouchEvent* event) {
|
| - WebMouseEventBuilder web_event(this, LayoutItem(element_->GetLayoutObject()),
|
| - *event);
|
| + WebMouseEventBuilder web_event(
|
| + ToFrameView(Parent()), LayoutItem(element_->GetLayoutObject()), *event);
|
| if (web_event.GetType() == WebInputEvent::kUndefined)
|
| return;
|
|
|
|
|