Title: [186653] trunk/Source/WebKit2
Revision
186653
Author
mcatanz...@igalia.com
Date
2015-07-09 17:09:11 -0700 (Thu, 09 Jul 2015)

Log Message

[GTK] Crash when spell checker returns no guesses
https://bugs.webkit.org/show_bug.cgi?id=146805

Reviewed by Martin Robinson.

Properly handle ContextMenuItemTagNoGuessesFound in the switch statement.

* UIProcess/API/gtk/WebKitContextMenuActions.cpp:
(webkitContextMenuActionGetForContextMenuItem):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (186652 => 186653)


--- trunk/Source/WebKit2/ChangeLog	2015-07-10 00:02:50 UTC (rev 186652)
+++ trunk/Source/WebKit2/ChangeLog	2015-07-10 00:09:11 UTC (rev 186653)
@@ -1,3 +1,15 @@
+2015-07-09  Michael Catanzaro  <mcatanz...@igalia.com>
+
+        [GTK] Crash when spell checker returns no guesses
+        https://bugs.webkit.org/show_bug.cgi?id=146805
+
+        Reviewed by Martin Robinson.
+
+        Properly handle ContextMenuItemTagNoGuessesFound in the switch statement.
+
+        * UIProcess/API/gtk/WebKitContextMenuActions.cpp:
+        (webkitContextMenuActionGetForContextMenuItem):
+
 2015-07-09  Alex Christensen  <achristen...@webkit.org>
 
         [Content Extensions] Add 3 byte jump size.

Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuActions.cpp (186652 => 186653)


--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuActions.cpp	2015-07-10 00:02:50 UTC (rev 186652)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuActions.cpp	2015-07-10 00:09:11 UTC (rev 186653)
@@ -182,6 +182,8 @@
         return WEBKIT_CONTEXT_MENU_ACTION_UNICODE;
     case ContextMenuItemTagSpellingGuess:
         return WEBKIT_CONTEXT_MENU_ACTION_SPELLING_GUESS;
+    case ContextMenuItemTagNoGuessesFound:
+        return WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND;
     case ContextMenuItemTagIgnoreSpelling:
         return WEBKIT_CONTEXT_MENU_ACTION_IGNORE_SPELLING;
     case ContextMenuItemTagLearnSpelling:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to