diff options
author | mrobinson@webkit.org <mrobinson@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2010-12-27 22:48:21 +0000 |
---|---|---|
committer | mrobinson@webkit.org <mrobinson@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2010-12-27 22:48:21 +0000 |
commit | abe50609d07dc5a55bc345a6e565c257ca2cad92 (patch) | |
tree | 46485349d7ac30fe79b660eb143a07b96785ed67 /third_party/WebKit/WebKit2/Shared/API/c/cg/WKImageCG.cpp | |
parent | f600f24fedd153c6f6b6dd63d68fdc5a31f3a24d (diff) | |
download | chromium_src-abe50609d07dc5a55bc345a6e565c257ca2cad92.zip chromium_src-abe50609d07dc5a55bc345a6e565c257ca2cad92.tar.gz chromium_src-abe50609d07dc5a55bc345a6e565c257ca2cad92.tar.bz2 |
2010-12-27 Martin Robinson <mrobinson@igalia.com>
Reviewed by Ryosuke Niwa.
[GTK] EditorClient::generateEditorCommands queues up "null string" commands
https://bugs.webkit.org/show_bug.cgi?id=51569
Prevent adding "null string" editor commands by first checking whether or not
the command string is null in generateEditorCommands before appending it to the
list of pending editor command strings.
* WebCoreSupport/EditorClientGtk.cpp:
(WebKit::EditorClient::generateEditorCommands): Check for the null string (no
command for this key combination) before appending a command string to the list of
pending editor commands.
(WebKit::EditorClient::executePendingEditorCommands): Add an ASSERT which detects
null command strings.
git-svn-id: svn://svn.chromium.org/blink/trunk@74697 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/WebKit2/Shared/API/c/cg/WKImageCG.cpp')
0 files changed, 0 insertions, 0 deletions