Index: content/browser/renderer_host/input/web_input_event_builders_android.cc |
diff --git a/content/browser/renderer_host/input/web_input_event_builders_android.cc b/content/browser/renderer_host/input/web_input_event_builders_android.cc |
index bd6fff7a43958a13151cbd143fb231327b92c5e3..67a221c4febc698f0a2cd8f14bb128f041ecc8ac 100644 |
--- a/content/browser/renderer_host/input/web_input_event_builders_android.cc |
+++ b/content/browser/renderer_host/input/web_input_event_builders_android.cc |
@@ -127,8 +127,8 @@ WebMouseEvent WebMouseEventBuilder::Build(WebInputEvent::Type type, |
WebMouseEvent result(type, ui::EventFlagsToWebEventModifiers(modifiers), |
time_sec); |
- result.x = window_x; |
- result.y = window_y; |
+ result.position.x = window_x; |
+ result.position.y = window_y; |
result.clickCount = click_count; |
int button = action_button; |
@@ -160,8 +160,8 @@ WebMouseWheelEvent WebMouseWheelEventBuilder::Build(float ticks_x, |
int window_y) { |
WebMouseWheelEvent result(WebInputEvent::MouseWheel, |
WebInputEvent::NoModifiers, time_sec); |
- result.x = window_x; |
- result.y = window_y; |
+ result.position.x = window_x; |
+ result.position.y = window_y; |
result.button = WebMouseEvent::Button::NoButton; |
result.hasPreciseScrollingDeltas = true; |
result.deltaX = ticks_x * tick_multiplier; |