summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-19 06:41:26 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-19 06:41:26 +0000
commitb905b58c2856c067b6d5ab25c5d6d9d5a32965df (patch)
tree0334de1a742221b37461b7d68794dce641708ca5 /webkit/glue
parentb40364ce9cd1d3abec7b931f73de3dd9e7a39279 (diff)
downloadchromium_src-b905b58c2856c067b6d5ab25c5d6d9d5a32965df.zip
chromium_src-b905b58c2856c067b6d5ab25c5d6d9d5a32965df.tar.gz
chromium_src-b905b58c2856c067b6d5ab25c5d6d9d5a32965df.tar.bz2
Fix regression in 81614 with spelling correction.
BUG=79821 Review URL: http://codereview.chromium.org/6883038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/context_menu.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/context_menu.cc b/webkit/glue/context_menu.cc
index 317130e..ad0d70a 100644
--- a/webkit/glue/context_menu.cc
+++ b/webkit/glue/context_menu.cc
@@ -43,6 +43,9 @@ ContextMenuParams::ContextMenuParams(const WebKit::WebContextMenuData& data)
edit_flags(data.editFlags),
security_info(data.securityInfo),
frame_charset(data.frameEncoding.utf8()) {
+ for (size_t i = 0; i < data.dictionarySuggestions.size(); ++i)
+ dictionary_suggestions.push_back(data.dictionarySuggestions[i]);
+
custom_context.is_pepper_menu = false;
for (size_t i = 0; i < data.customItems.size(); ++i)
custom_items.push_back(WebMenuItem(data.customItems[i]));