[WinCairo] Empty context menu item.
authorpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Dec 2015 00:25:31 +0000 (00:25 +0000)
committerpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Dec 2015 00:25:31 +0000 (00:25 +0000)
https://bugs.webkit.org/show_bug.cgi?id=152423

Reviewed by Alex Christensen.

The context menu contains a submenu item with no text.

* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::populate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194305 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/page/ContextMenuController.cpp

index 973a2e6..7b04d25 100644 (file)
@@ -1,3 +1,15 @@
+2015-12-18  Per Arne Vollan  <peavo@outlook.com>
+
+        [WinCairo] Empty context menu item.
+        https://bugs.webkit.org/show_bug.cgi?id=152423
+
+        Reviewed by Alex Christensen.
+
+        The context menu contains a submenu item with no text.
+
+        * page/ContextMenuController.cpp:
+        (WebCore::ContextMenuController::populate):
+
 2015-12-18  Michael Catanzaro  <mcatanzaro@igalia.com>
 
         Avoid triggering clang's -Wundefined-bool-conversion
index a6e8d51..890da88 100644 (file)
@@ -797,7 +797,7 @@ void ContextMenuController::populate()
     ContextMenuItem SelectAllItem(ActionType, ContextMenuItemTagSelectAll, contextMenuItemTagSelectAll());
 #endif
 
-#if PLATFORM(GTK) || PLATFORM(EFL)
+#if PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN)
     ContextMenuItem ShareMenuItem;
 #else
     ContextMenuItem ShareMenuItem(SubmenuType, ContextMenuItemTagShareMenu, emptyString());