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

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

Issue 1280473002: Update ToLower/UpperASCII API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
Index: content/renderer/android/phone_number_detector.cc
diff --git a/content/renderer/android/phone_number_detector.cc b/content/renderer/android/phone_number_detector.cc
index 6a370a11f6a86ed6a444f32fd5e750b948e23a50..54da5fee51a442879e6152bba11fb862020ceb64 100644
--- a/content/renderer/android/phone_number_detector.cc
+++ b/content/renderer/android/phone_number_detector.cc
@@ -36,7 +36,7 @@ PhoneNumberDetector::PhoneNumberDetector()
// Region should be empty or an ISO 3166-1 alpha-2 country code.
PhoneNumberDetector::PhoneNumberDetector(const std::string& region)
: region_code_(region.empty() ? RegionCode::GetUnknown()
- : base::StringToUpperASCII(region)) {
+ : base::ToUpperASCII(region)) {
}
PhoneNumberDetector::~PhoneNumberDetector() {
« no previous file with comments | « content/child/appcache/web_application_cache_host_impl.cc ('k') | extensions/renderer/runtime_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698