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 865ab971dcd5c3fed6e2c9190af33f2ec1692d47..00617d0b41d1c46014d6c9afcbd84f43d5e8efc1 100644 |
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
@@ -706,16 +706,16 @@ void WebPluginContainerImpl::handleMouseEvent(MouseEvent* event) { |
// in the call to HandleEvent. See http://b/issue?id=1362948 |
FrameView* parentView = toFrameView(parent()); |
- WebMouseEventBuilder webEvent(this, LayoutItem(m_element->layoutObject()), |
- *event); |
- if (webEvent.type() == WebInputEvent::Undefined) |
+ WebMouseEventBuilder transformedEvent( |
+ this, LayoutItem(m_element->layoutObject()), *event); |
+ if (transformedEvent.type() == WebInputEvent::Undefined) |
return; |
if (event->type() == EventTypeNames::mousedown) |
focusPlugin(); |
WebCursorInfo cursorInfo; |
- if (m_webPlugin->handleInputEvent(webEvent, cursorInfo) != |
+ if (m_webPlugin->handleInputEvent(transformedEvent, cursorInfo) != |
WebInputEventResult::NotHandled) |
event->setDefaultHandled(); |