| 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 a834c8b5463ed24fa606b1d574f35798798572cf..598888fd44b6457aba568c57c5bf16e7c8bb47f0 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -2096,7 +2096,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;
|
|
|
|
|