| Index: chrome/browser/views/options/languages_page_view.cc
|
| ===================================================================
|
| --- chrome/browser/views/options/languages_page_view.cc (revision 27832)
|
| +++ chrome/browser/views/options/languages_page_view.cc (working copy)
|
| @@ -340,7 +340,7 @@
|
| enable_spellchecking_checkbox_ = new views::Checkbox(
|
| l10n_util::GetString(IDS_OPTIONS_ENABLE_SPELLCHECK));
|
| const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| - if (command_line.HasSwitch(switches::kAutoSpellCorrect)) {
|
| + if (command_line.HasSwitch(switches::kExperimentalSpellcheckerFeatures)) {
|
| enable_autospellcorrect_checkbox_ = new views::Checkbox(
|
| l10n_util::GetString(IDS_OPTIONS_ENABLE_AUTO_SPELL_CORRECTION));
|
| enable_autospellcorrect_checkbox_->set_listener(this);
|
| @@ -361,7 +361,7 @@
|
| layout->StartRow(0, single_column_view_set_id);
|
| layout->AddView(enable_spellchecking_checkbox_);
|
| layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
|
| - if (command_line.HasSwitch(switches::kAutoSpellCorrect)) {
|
| + if (command_line.HasSwitch(switches::kExperimentalSpellcheckerFeatures)) {
|
| layout->StartRow(0, single_column_view_set_id);
|
| layout->AddView(enable_autospellcorrect_checkbox_);
|
| layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
|
| @@ -446,7 +446,7 @@
|
| }
|
| if (!pref_name || *pref_name == prefs::kEnableAutoSpellCorrect) {
|
| const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| - if (command_line.HasSwitch(switches::kAutoSpellCorrect)) {
|
| + if (command_line.HasSwitch(switches::kExperimentalSpellcheckerFeatures)) {
|
| enable_autospellcorrect_checkbox_->SetChecked(
|
| enable_autospellcorrect_.GetValue());
|
| }
|
|
|