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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 10982092: Forcing disabling of spelling temporarily until flag is fixed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing compile error Created 8 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index b6314d8faae84fc1187907c5cd7aa7f95015e751..ec2c76181a49737160efc3303d1445f549993675 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1540,7 +1540,11 @@ void ChromeContentBrowserClient::OverrideWebkitPrefs(
} else {
web_prefs->user_style_sheet_enabled = false;
}
-
+
+ // TODO(rlp): crbug.com/144863 Forcing flag to off temporarily until flag
+ // is fixed.
+ CommandLine::ForCurrentProcess()->
+ AppendSwitch(switches::kDisableAsynchronousSpellChecking);
web_prefs->asynchronous_spell_checking_enabled =
#if defined(OS_MACOSX)
// TODO(hbono): Bug 107371: Implement asynchronous spellchecking API for
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698