| 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 1bdea994878ebc401e5949d0304dd2189674c947..2fcca34afb73bc9878c14511225ca545da3b58ef 100644
|
| --- a/content/common/input/synthetic_web_input_event_builders.cc
|
| +++ b/content/common/input/synthetic_web_input_event_builders.cc
|
| @@ -123,12 +123,15 @@ WebGestureEvent SyntheticWebGestureEventBuilder::BuildPinchUpdate(
|
| float scale,
|
| float anchor_x,
|
| float anchor_y,
|
| - int modifiers) {
|
| - WebGestureEvent result = Build(WebInputEvent::GesturePinchUpdate,
|
| - WebGestureEvent::Touchscreen);
|
| + int modifiers,
|
| + WebGestureEvent::SourceDevice source_device) {
|
| + WebGestureEvent result =
|
| + Build(WebInputEvent::GesturePinchUpdate, source_device);
|
| result.data.pinchUpdate.scale = scale;
|
| result.x = anchor_x;
|
| result.y = anchor_y;
|
| + result.globalX = anchor_x;
|
| + result.globalY = anchor_y;
|
| result.modifiers = modifiers;
|
| return result;
|
| }
|
|
|