[macOS] Select element doesn't show popup if select element had lost focus while...
[WebKit-https.git] / Source / WebCore / rendering / RenderMenuList.cpp
index 89312de..02f1cbf 100644 (file)
@@ -612,6 +612,7 @@ int RenderMenuList::selectedIndex() const
 void RenderMenuList::popupDidHide()
 {
 #if !PLATFORM(IOS_FAMILY)
+    // PopupMenuMac::show in WebKitLegacy can call this callback even when popup had already been dismissed.
     m_popupIsVisible = false;
 #endif
 }