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

Unified Diff: content/renderer/android/address_detector.cc

Issue 121033002: Update uses of UTF conversions in content/ 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: content/renderer/android/address_detector.cc
diff --git a/content/renderer/android/address_detector.cc b/content/renderer/android/address_detector.cc
index fdc70b136aebd6f9878609a95beee2c7568809d6..6ab267fed3577ad814ff42cbe75da56a281de1eb 100644
--- a/content/renderer/android/address_detector.cc
+++ b/content/renderer/android/address_detector.cc
@@ -41,7 +41,7 @@ std::string AddressDetector::GetContentText(const base::string16& text) {
base::string16 address_16 = CollapseWhitespace(text, false);
std::replace(address_16.begin(), address_16.end(),
static_cast<char16>(0x2022), static_cast<char16>(','));
- return UTF16ToUTF8(address_16);
+ return base::UTF16ToUTF8(address_16);
}
bool AddressDetector::FindContent(
« no previous file with comments | « content/renderer/accessibility/accessibility_node_serializer.cc ('k') | content/renderer/android/email_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698