Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: chrome/browser/spellchecker/spelling_service_client.cc

Issue 11829042: [Spellcheck] Turning spelling service on by default. Adding command line flag to turn spelling serv… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: actually rebasing this time Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/spellchecker/spelling_service_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | chrome/browser/spellchecker/spelling_service_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698