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 a0506ba052f848dc40e5f30e9cc8e8e10954bf22..a74b356432f324ccf3caf3fcd64e9c496097394e 100644 |
--- a/chrome/browser/spellchecker/spelling_service_client.cc |
+++ b/chrome/browser/spellchecker/spelling_service_client.cc |
@@ -120,12 +120,6 @@ bool SpellingServiceClient::IsAvailable( |
if (locale.empty()) |
return false; |
- // 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::kUseSpellingSuggestions)) |
- return type == SUGGEST; |
- |
// Finally, if all options are available, we only enable only SUGGEST |
// if SPELLCHECK is not available for our language because SPELLCHECK results |
// are a superset of SUGGEST results. |