[GTK] REGRESSION(188031): ASSERTION FAILED: menu
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Sep 2015 07:22:37 +0000 (07:22 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Sep 2015 07:22:37 +0000 (07:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=149379

Reviewed by Carlos Garcia Campos.

Remove assert that no longer makes sense.

* platform/gtk/ContextMenuGtk.cpp:
(WebCore::ContextMenu::setPlatformDescription): Deleted.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/gtk/ContextMenuGtk.cpp

index 9b4d791..3813efb 100644 (file)
@@ -1,3 +1,15 @@
+2015-09-21  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        [GTK] REGRESSION(188031): ASSERTION FAILED: menu
+        https://bugs.webkit.org/show_bug.cgi?id=149379
+
+        Reviewed by Carlos Garcia Campos.
+
+        Remove assert that no longer makes sense.
+
+        * platform/gtk/ContextMenuGtk.cpp:
+        (WebCore::ContextMenu::setPlatformDescription): Deleted.
+
 2015-09-20  Chris Dumez  <cdumez@apple.com>
 
         Unreviewed attempt to fix GTK build after r190030.
index a190855..f2cbca0 100644 (file)
@@ -61,7 +61,6 @@ void ContextMenu::appendItem(ContextMenuItem& item)
 
 void ContextMenu::setPlatformDescription(PlatformMenuDescription menu)
 {
-    ASSERT(menu);
     if (m_platformDescription == menu)
         return;
     if (m_platformDescription)