Index: third_party/WebKit/Source/web/WebViewImpl.h |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h |
index 66a0cfa7bd7eaba8db52d73f268d62a72507fae9..c8ecf5a2ba8d73fe403c7299e629858485b38f6f 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.h |
+++ b/third_party/WebKit/Source/web/WebViewImpl.h |
@@ -667,6 +667,11 @@ class WEB_EXPORT WebViewImpl final |
// The popup associated with an input/select element. |
RefPtr<WebPagePopupImpl> m_pagePopup; |
+ // This stores the last hidden page popup. If a GestureTap attempts to open |
+ // the popup that is closed by its previous GestureTapDown, the popup remains |
+ // closed. |
+ RefPtr<WebPagePopupImpl> m_lastHiddenPagePopup; |
+ |
Persistent<DevToolsEmulator> m_devToolsEmulator; |
std::unique_ptr<PageOverlay> m_pageColorOverlay; |