Changeset 186653 in webkit


Ignore:
Timestamp:
Jul 9, 2015 5:09:11 PM (9 years ago)
Author:
Michael Catanzaro
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):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r186649 r186653  
     12015-07-09  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        [GTK] Crash when spell checker returns no guesses
     4        https://bugs.webkit.org/show_bug.cgi?id=146805
     5
     6        Reviewed by Martin Robinson.
     7
     8        Properly handle ContextMenuItemTagNoGuessesFound in the switch statement.
     9
     10        * UIProcess/API/gtk/WebKitContextMenuActions.cpp:
     11        (webkitContextMenuActionGetForContextMenuItem):
     12
    1132015-07-09  Alex Christensen  <achristensen@webkit.org>
    214
  • trunk/Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuActions.cpp

    r154987 r186653  
    183183    case ContextMenuItemTagSpellingGuess:
    184184        return WEBKIT_CONTEXT_MENU_ACTION_SPELLING_GUESS;
     185    case ContextMenuItemTagNoGuessesFound:
     186        return WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND;
    185187    case ContextMenuItemTagIgnoreSpelling:
    186188        return WEBKIT_CONTEXT_MENU_ACTION_IGNORE_SPELLING;
Note: See TracChangeset for help on using the changeset viewer.