Remove dead context menu code
[WebKit-https.git] / Source / WebCore / page / ContextMenuController.cpp
index 499bcb9..a2c6eff 100644 (file)
@@ -181,10 +181,6 @@ void ContextMenuController::showContextMenu(Event* event)
     if (m_page.inspectorController().enabled())
         addInspectElementItem();
 
-#if !USE(CROSS_PLATFORM_CONTEXT_MENUS)
-    PlatformMenuDescription customMenu = m_client.getCustomMenuFromDefaultItems(m_contextMenu.get());
-    m_contextMenu->setPlatformDescription(customMenu);
-#endif
     event->setDefaultHandled();
 }