| Index: chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
| diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu.cc b/chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
| index 10bc7ed033bbc1dc4c4ec3e9c585d8435435b731..c08ab6a4504be8db65b2a5699bc5383bdb1ca772 100644
|
| --- a/chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
| +++ b/chrome/browser/renderer_context_menu/render_view_context_menu.cc
|
| @@ -1443,7 +1443,7 @@ bool RenderViewContextMenu::IsCommandIdEnabled(int id) const {
|
| // Allow Spell Check language items on sub menu for text area context menu.
|
| if ((id >= IDC_SPELLCHECK_LANGUAGES_FIRST) &&
|
| (id < IDC_SPELLCHECK_LANGUAGES_LAST)) {
|
| - return prefs->GetBoolean(spellcheck::prefs::kEnableContinuousSpellcheck);
|
| + return prefs->GetBoolean(spellcheck::prefs::kEnableSpellcheck);
|
| }
|
|
|
| // Extension items.
|
| @@ -1594,7 +1594,7 @@ bool RenderViewContextMenu::IsCommandIdEnabled(int id) const {
|
| case IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS:
|
| return true;
|
| case IDC_CHECK_SPELLING_WHILE_TYPING:
|
| - return prefs->GetBoolean(spellcheck::prefs::kEnableContinuousSpellcheck);
|
| + return prefs->GetBoolean(spellcheck::prefs::kEnableSpellcheck);
|
|
|
| #if !defined(OS_MACOSX) && defined(OS_POSIX)
|
| // TODO(suzhe): this should not be enabled for password fields.
|
|
|