WebCore:
[WebKit-https.git] / WebCore / platform / mac / PopupMenuMac.mm
index f48c14a..3ca7bb1 100644 (file)
@@ -101,6 +101,8 @@ void PopupMenu::show(const IntRect& r, FrameView* v, int index)
     NSEvent* event = [frame->currentEvent() retain];
     
     RefPtr<PopupMenu> protector(this);
+    
+    frame->willPopupMenu(menu);
     wkPopupMenu(menu, location, roundf(NSWidth(r)), view, index, font);
 
     if (menuList()) {