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 1a49f3e23e7d0bc68a0ba6c872a8afaea169b639..bf3084fd68ec9d8a10fecdcc71dad09338fcf260 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(); |