| 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 f09716a68c8e3ec8019d51afffcd99cd12dac98e..cacaf5560da6420f5cbf45882662722e14d5e277 100644
|
| --- a/content/browser/renderer_host/input/touch_emulator.cc
|
| +++ b/content/browser/renderer_host/input/touch_emulator.cc
|
| @@ -141,12 +141,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) {
|
|
|