| Index: chrome/browser/renderer_context_menu/spelling_options_submenu_observer.cc
|
| diff --git a/chrome/browser/renderer_context_menu/spelling_options_submenu_observer.cc b/chrome/browser/renderer_context_menu/spelling_options_submenu_observer.cc
|
| index 6e19e7956e59719ac50430013c7c6bbf82b3cef8..8a514b162d878d69e1942f4fc57569398c07f000 100644
|
| --- a/chrome/browser/renderer_context_menu/spelling_options_submenu_observer.cc
|
| +++ b/chrome/browser/renderer_context_menu/spelling_options_submenu_observer.cc
|
| @@ -136,7 +136,7 @@ bool SpellingOptionsSubMenuObserver::IsCommandIdChecked(int command_id) {
|
| if (command_id == IDC_CHECK_SPELLING_WHILE_TYPING) {
|
| Profile* profile = Profile::FromBrowserContext(proxy_->GetBrowserContext());
|
| return profile->GetPrefs()->GetBoolean(
|
| - spellcheck::prefs::kEnableContinuousSpellcheck);
|
| + spellcheck::prefs::kEnableSpellcheck);
|
| }
|
|
|
| return false;
|
| @@ -151,7 +151,7 @@ bool SpellingOptionsSubMenuObserver::IsCommandIdEnabled(int command_id) {
|
| if ((command_id >= IDC_SPELLCHECK_LANGUAGES_FIRST &&
|
| command_id < IDC_SPELLCHECK_LANGUAGES_LAST) ||
|
| command_id == IDC_SPELLCHECK_MULTI_LINGUAL) {
|
| - return pref->GetBoolean(spellcheck::prefs::kEnableContinuousSpellcheck);
|
| + return pref->GetBoolean(spellcheck::prefs::kEnableSpellcheck);
|
| }
|
|
|
| switch (command_id) {
|
| @@ -185,9 +185,9 @@ void SpellingOptionsSubMenuObserver::ExecuteCommand(int command_id) {
|
| switch (command_id) {
|
| case IDC_CHECK_SPELLING_WHILE_TYPING:
|
| profile->GetPrefs()->SetBoolean(
|
| - spellcheck::prefs::kEnableContinuousSpellcheck,
|
| + spellcheck::prefs::kEnableSpellcheck,
|
| !profile->GetPrefs()->GetBoolean(
|
| - spellcheck::prefs::kEnableContinuousSpellcheck));
|
| + spellcheck::prefs::kEnableSpellcheck));
|
| break;
|
|
|
| case IDC_SPELLCHECK_MULTI_LINGUAL:
|
|
|