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

Unified Diff: chrome/browser/spellcheck_worditerator.cc

Issue 150139: [chromium-reviews] Change the use of "Language" in Spell Check files to "SpellCheckLanguage". "L... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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.h » ('j') | chrome/browser/spellchecker.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellcheck_worditerator.cc
===================================================================
--- chrome/browser/spellcheck_worditerator.cc (revision 19621)
+++ chrome/browser/spellcheck_worditerator.cc (working copy)
@@ -60,8 +60,7 @@
// Sets the default language for this object.
// This function retrieves the exemplar set to set up the default character
// attributes.
-void SpellcheckCharAttribute::SetDefaultLanguage(
- const SpellChecker::Language& language) {
+void SpellcheckCharAttribute::SetDefaultLanguage(const std::string& language) {
UErrorCode status = U_ZERO_ERROR;
ULocaleData* locale_data = ulocdata_open(language.c_str(), &status);
if (U_FAILURE(status))
« no previous file with comments | « no previous file | chrome/browser/spellchecker.h » ('j') | chrome/browser/spellchecker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698