| Index: content/browser/renderer_host/input/touch_emulator.cc
|
| diff --git a/content/browser/renderer_host/input/touch_emulator.cc b/content/browser/renderer_host/input/touch_emulator.cc
|
| index be0550df4f81b8ba9c7b853c6683d9679118027c..0fcc5361ceea1e50c265518aec6a9e57686a5a7a 100644
|
| --- a/content/browser/renderer_host/input/touch_emulator.cc
|
| +++ b/content/browser/renderer_host/input/touch_emulator.cc
|
| @@ -140,12 +140,12 @@ bool TouchEmulator::HandleMouseEvent(const WebMouseEvent& mouse_event) {
|
| if (!enabled())
|
| return false;
|
|
|
| - if (mouse_event.button == WebMouseEvent::ButtonRight &&
|
| + if (mouse_event.button == WebMouseEvent::Button::Right &&
|
| mouse_event.type == WebInputEvent::MouseDown) {
|
| client_->ShowContextMenuAtPoint(gfx::Point(mouse_event.x, mouse_event.y));
|
| }
|
|
|
| - if (mouse_event.button != WebMouseEvent::ButtonLeft)
|
| + if (mouse_event.button != WebMouseEvent::Button::Left)
|
| return true;
|
|
|
| if (mouse_event.type == WebInputEvent::MouseMove) {
|
|
|