Index: chrome/browser/spellchecker/spelling_service_client.cc |
diff --git a/chrome/browser/spellchecker/spelling_service_client.cc b/chrome/browser/spellchecker/spelling_service_client.cc |
index 0bfbea64179d9e2801e408ab5c5ff1bbbb7ca7df..c89592f652e2466b18b785bbf7c725743428200b 100644 |
--- a/chrome/browser/spellchecker/spelling_service_client.cc |
+++ b/chrome/browser/spellchecker/spelling_service_client.cc |
@@ -115,7 +115,7 @@ bool SpellingServiceClient::IsAvailable(Profile* profile, ServiceType type) { |
// If we do not have the spelling service enabled, then we are only available |
// for SUGGEST. |
const CommandLine* command_line = CommandLine::ForCurrentProcess(); |
- if (!command_line->HasSwitch(switches::kUseSpellingService)) |
+ if (command_line->HasSwitch(switches::kUseSpellingSuggestions)) |
return type == SUGGEST; |
// Finally, if all options are available, we only enable only SUGGEST |