Skip to content

Commit

Permalink
Merge r186653 - [GTK] Crash when spell checker returns no guesses
Browse files Browse the repository at this point in the history
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):
  • Loading branch information
mcatanzaro authored and carlosgcampos committed Aug 4, 2015
1 parent ded6a4f commit 95ed84d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Source/WebKit2/ChangeLog
@@ -1,3 +1,15 @@
2015-07-09 Michael Catanzaro <mcatanzaro@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-08 Hyungwook Lee <hyungwook.lee@navercorp.com>

Fix ASSERTION FAILED: !m_pendingNavigationID in WebPage::reload().
Expand Down
2 changes: 2 additions & 0 deletions Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuActions.cpp
Expand Up @@ -182,6 +182,8 @@ WebKitContextMenuAction webkitContextMenuActionGetForContextMenuItem(ContextMenu
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:
Expand Down

0 comments on commit 95ed84d

Please sign in to comment.