| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| index 9ab3a0a81e75eaf26acc7f379859d0e9140d532b..a55a5cc06559474ead1a3fed8e97646ea97b1713 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -759,7 +759,7 @@ void WebFrameWidgetImpl::handleMouseDown(LocalFrame& mainFrame,
|
| mainFrame.eventHandler().takeLastMouseDownGestureToken();
|
|
|
| // Dispatch the contextmenu event regardless of if the click was swallowed.
|
| - if (!page()->settings().showContextMenuOnMouseUp()) {
|
| + if (!page()->settings().getShowContextMenuOnMouseUp()) {
|
| #if OS(MACOSX)
|
| if (event.button == WebMouseEvent::Button::Right ||
|
| (event.button == WebMouseEvent::Button::Left &&
|
| @@ -810,7 +810,7 @@ void WebFrameWidgetImpl::handleMouseUp(LocalFrame& mainFrame,
|
| const WebMouseEvent& event) {
|
| PageWidgetEventHandler::handleMouseUp(mainFrame, event);
|
|
|
| - if (page()->settings().showContextMenuOnMouseUp()) {
|
| + if (page()->settings().getShowContextMenuOnMouseUp()) {
|
| // Dispatch the contextmenu event regardless of if the click was swallowed.
|
| // On Mac/Linux, we handle it on mouse down, not up.
|
| if (event.button == WebMouseEvent::Button::Right)
|
|
|