| Index: chrome/browser/tab_contents/render_view_context_menu.cc
|
| diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
|
| index 71aa90960e0266aabc5e26d8d426dbc4270735df..7291f59640749f14be01c1d25348dd49c9466658 100644
|
| --- a/chrome/browser/tab_contents/render_view_context_menu.cc
|
| +++ b/chrome/browser/tab_contents/render_view_context_menu.cc
|
| @@ -741,9 +741,15 @@ void RenderViewContextMenu::AppendEditableItems() {
|
| menu_model_.AddItem(IDC_SPELLCHECK_SUGGESTION_0 + static_cast<int>(i),
|
| params_.dictionary_suggestions[i]);
|
| }
|
| - if (!params_.dictionary_suggestions.empty())
|
| + if (!params_.dictionary_suggestions.empty()) {
|
| menu_model_.AddSeparator();
|
|
|
| + SpellCheckHost* spellcheck_host = profile_->GetSpellCheckHost();
|
| + DCHECK(spellcheck_host);
|
| + if (spellcheck_host)
|
| + spellcheck_host->RecordSuggestionStats(1);
|
| + }
|
| +
|
| // If word is misspelled, give option for "Add to dictionary"
|
| if (!params_.misspelled_word.empty()) {
|
| if (params_.dictionary_suggestions.empty()) {
|
|
|