| Index: content/common/input/synthetic_web_input_event_builders.cc
|
| diff --git a/content/common/input/synthetic_web_input_event_builders.cc b/content/common/input/synthetic_web_input_event_builders.cc
|
| index cd8126838d737bbdfbe4cfde3c21a0c0b5243637..7d9883c58da35a3e0fde37831b597ddee1ee82fa 100644
|
| --- a/content/common/input/synthetic_web_input_event_builders.cc
|
| +++ b/content/common/input/synthetic_web_input_event_builders.cc
|
| @@ -35,8 +35,8 @@ WebMouseEvent SyntheticWebMouseEventBuilder::Build(
|
| DCHECK(WebInputEvent::isMouseEventType(type));
|
| WebMouseEvent result(type, modifiers,
|
| ui::EventTimeStampToSeconds(ui::EventTimeForNow()));
|
| - result.x = window_x;
|
| - result.y = window_y;
|
| + result.position.x = window_x;
|
| + result.position.y = window_y;
|
| result.setModifiers(modifiers);
|
| result.pointerType = pointer_type;
|
| result.id = ui::PointerEvent::kMousePointerId;
|
| @@ -71,10 +71,10 @@ WebMouseWheelEvent SyntheticWebMouseWheelEventBuilder::Build(float x,
|
| bool precise) {
|
| WebMouseWheelEvent result(WebInputEvent::MouseWheel, modifiers,
|
| ui::EventTimeStampToSeconds(ui::EventTimeForNow()));
|
| - result.globalX = global_x;
|
| - result.globalY = global_y;
|
| - result.x = x;
|
| - result.y = y;
|
| + result.screenPosition.x = global_x;
|
| + result.screenPosition.y = global_y;
|
| + result.position.x = x;
|
| + result.position.y = y;
|
| result.deltaX = dx;
|
| result.deltaY = dy;
|
| if (dx)
|
|
|