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 a8f80d614dcd79f4d1a44fafbd6d67ef6c822204..3c33a0199bdaea47e3e3972f85d9dafaac81352b 100644 |
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
@@ -767,8 +767,7 @@ void WebPluginContainerImpl::handleWheelEvent(WheelEvent* event) { |
roundedIntPoint(m_element->layoutObject()->absoluteToLocal( |
absoluteRootFrameLocation, UseTransforms)); |
WebMouseWheelEvent translatedEvent = event->nativeEvent().flattenTransform(); |
- translatedEvent.x = localPoint.x(); |
- translatedEvent.y = localPoint.y(); |
+ translatedEvent.setPositionInWidget(localPoint.x(), localPoint.y()); |
WebCursorInfo cursorInfo; |
if (m_webPlugin->handleInputEvent(translatedEvent, cursorInfo) != |