| 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 34ad8d9dda5a1f3bb45fd428d4c8cb27c43f7ed5..7e1d2c3d94fe15ea2b7235f99dde0f3d274f82f8 100644
|
| --- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| @@ -472,8 +472,8 @@ WebInputEventResult WebPagePopupImpl::handleGestureEvent(
|
| if (m_closing || !m_page || !m_page->mainFrame() ||
|
| !toLocalFrame(m_page->mainFrame())->view())
|
| return WebInputEventResult::NotHandled;
|
| - if ((event.type == WebInputEvent::GestureTap ||
|
| - event.type == WebInputEvent::GestureTapDown) &&
|
| + if ((event.type() == WebInputEvent::GestureTap ||
|
| + event.type() == WebInputEvent::GestureTapDown) &&
|
| !isViewportPointInWindow(event.x, event.y)) {
|
| cancel();
|
| return WebInputEventResult::NotHandled;
|
|
|