| 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 3c5800df885ef52aa3b53d2c959ebe7d15acc3bb..d87df1aa093b267e2801caa799ea3dcf4156cf30 100644
|
| --- a/content/common/input/synthetic_web_input_event_builders.cc
|
| +++ b/content/common/input/synthetic_web_input_event_builders.cc
|
| @@ -37,12 +37,8 @@ WebMouseEvent SyntheticWebMouseEventBuilder::Build(
|
| result.y = window_y;
|
| result.windowX = window_x;
|
| result.windowY = window_y;
|
| -
|
| - if (type == WebInputEvent::MouseDown || type == WebInputEvent::MouseUp)
|
| - result.button = WebMouseEvent::Button::Left;
|
| - else
|
| - result.button = WebMouseEvent::Button::NoButton;
|
| -
|
| + result.modifiers = modifiers;
|
| + result.pointerType = blink::WebPointerProperties::PointerType::Mouse;
|
| return result;
|
| }
|
|
|
|
|