| Index: third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| index 3da48427e32fc09e84d5d2241567aa331573fe3b..0307c10f75334a84c5334ff9ad8005b7472008bc 100644
|
| --- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| @@ -478,7 +478,7 @@ WebInputEventResult WebPagePopupImpl::handleGestureEvent(
|
|
|
| void WebPagePopupImpl::handleMouseDown(LocalFrame& mainFrame,
|
| const WebMouseEvent& event) {
|
| - if (isViewportPointInWindow(event.x, event.y))
|
| + if (isViewportPointInWindow(event.position.x, event.position.y))
|
| PageWidgetEventHandler::handleMouseDown(mainFrame, event);
|
| else
|
| cancel();
|
| @@ -487,7 +487,7 @@ void WebPagePopupImpl::handleMouseDown(LocalFrame& mainFrame,
|
| WebInputEventResult WebPagePopupImpl::handleMouseWheel(
|
| LocalFrame& mainFrame,
|
| const WebMouseWheelEvent& event) {
|
| - if (isViewportPointInWindow(event.x, event.y))
|
| + if (isViewportPointInWindow(event.position.x, event.position.y))
|
| return PageWidgetEventHandler::handleMouseWheel(mainFrame, event);
|
| cancel();
|
| return WebInputEventResult::NotHandled;
|
|
|