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

Unified Diff: chrome/renderer/spellchecker/hunspell_engine.cc

Issue 105493002: Use base namespace for string16 in chrome/renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « chrome/renderer/spellchecker/hunspell_engine.h ('k') | chrome/renderer/spellchecker/spellcheck.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/spellchecker/hunspell_engine.cc
diff --git a/chrome/renderer/spellchecker/hunspell_engine.cc b/chrome/renderer/spellchecker/hunspell_engine.cc
index 3b79c100e9abf0c733fbc933f0aca2599550dce0..7900c507ad5adbfb3b62e82a2336644638070e99 100644
--- a/chrome/renderer/spellchecker/hunspell_engine.cc
+++ b/chrome/renderer/spellchecker/hunspell_engine.cc
@@ -74,7 +74,8 @@ void HunspellEngine::InitializeHunspell() {
}
}
-bool HunspellEngine::CheckSpelling(const string16& word_to_check, int tag) {
+bool HunspellEngine::CheckSpelling(const base::string16& word_to_check,
+ int tag) {
// Assume all words that cannot be checked are valid. Since Chrome can't
// offer suggestions on them, either, there's no point in flagging them to
// the user.
@@ -95,8 +96,8 @@ bool HunspellEngine::CheckSpelling(const string16& word_to_check, int tag) {
}
void HunspellEngine::FillSuggestionList(
- const string16& wrong_word,
- std::vector<string16>* optional_suggestions) {
+ const base::string16& wrong_word,
+ std::vector<base::string16>* optional_suggestions) {
std::string wrong_word_utf8(UTF16ToUTF8(wrong_word));
if (wrong_word_utf8.length() > kMaxSuggestLen)
return;
« no previous file with comments | « chrome/renderer/spellchecker/hunspell_engine.h ('k') | chrome/renderer/spellchecker/spellcheck.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698