| 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 f75540807ab011d538b0ffb69988dac7f5bdf0c1..a3d487493e2da56dfd955d3ff0ca1604d06b823f 100644
|
| --- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
| @@ -456,8 +456,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;
|
|
|