| Index: third_party/WebKit/Source/core/dom/Node.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
|
| index 8887dc3c9ad1bbcd71139232797e17c2ce296b75..a24483a33a90a1e2e1c3d89275e2aae6845bf2e2 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -2088,7 +2088,7 @@ void Node::defaultEventHandler(Event* event)
|
| #if OS(WIN)
|
| } else if (eventType == EventTypeNames::mousedown && event->isMouseEvent()) {
|
| MouseEvent* mouseEvent = toMouseEvent(event);
|
| - if (mouseEvent->button() == MiddleButton) {
|
| + if (mouseEvent->button() == static_cast<short>(WebPointerProperties::Button::Middle)) {
|
| if (enclosingLinkEventParentOrSelf())
|
| return;
|
|
|
|
|