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

Unified Diff: chrome/browser/tab_contents/spelling_menu_observer.cc

Issue 120983002: Update some uses of UTF conversions in chrome/browser to use the base:: namespace. (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
Index: chrome/browser/tab_contents/spelling_menu_observer.cc
diff --git a/chrome/browser/tab_contents/spelling_menu_observer.cc b/chrome/browser/tab_contents/spelling_menu_observer.cc
index 46f3e14d73dc4e72b46d01a644f659b7822efa90..c1eb6cfff926eb53c67dfba102aa72e6f0ab979a 100644
--- a/chrome/browser/tab_contents/spelling_menu_observer.cc
+++ b/chrome/browser/tab_contents/spelling_menu_observer.cc
@@ -288,7 +288,7 @@ void SpellingMenuObserver::ExecuteCommand(int command_id) {
SpellcheckService* spellcheck =
SpellcheckServiceFactory::GetForContext(profile);
if (spellcheck) {
- spellcheck->GetCustomDictionary()->AddWord(UTF16ToUTF8(
+ spellcheck->GetCustomDictionary()->AddWord(base::UTF16ToUTF8(
misspelled_word_));
spellcheck->GetFeedbackSender()->AddedToDictionary(misspelling_hash_);
}

Powered by Google App Engine
This is Rietveld 408576698