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

Unified Diff: components/translate/language_detection/language_detection_util.cc

Issue 112433004: Update uses of UTF conversions in chrome_frame/, chromeos/, components/ 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: components/translate/language_detection/language_detection_util.cc
diff --git a/components/translate/language_detection/language_detection_util.cc b/components/translate/language_detection/language_detection_util.cc
index a6f0308600e2730baf551df4c1808769356e877e..6a3b160501463b3119c281e548cc7ce083ff0bc4 100644
--- a/components/translate/language_detection/language_detection_util.cc
+++ b/components/translate/language_detection/language_detection_util.cc
@@ -110,7 +110,7 @@ std::string DetermineTextLanguage(const base::string16& text,
#endif
#if !defined(CLD_VERSION) || CLD_VERSION==2
case 2: {
- std::string utf8_text(UTF16ToUTF8(text));
+ std::string utf8_text(base::UTF16ToUTF8(text));
CLD2::Language language3[3];
int percent3[3];
CLD2::DetectLanguageSummary(

Powered by Google App Engine
This is Rietveld 408576698