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

Unified Diff: media/base/mime_util.cc

Issue 1171973003: Move StringToUpperASCII to base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « extensions/renderer/runtime_custom_bindings.cc ('k') | net/http/http_auth_handler_ntlm_portable.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mime_util.cc
diff --git a/media/base/mime_util.cc b/media/base/mime_util.cc
index bc12773ca7bd1b16d041ce0c29d67b5f0283cec0..030a4ee1a646a08926a5b6e1adb4c5dd00418301 100644
--- a/media/base/mime_util.cc
+++ b/media/base/mime_util.cc
@@ -544,7 +544,7 @@ static bool ParseH264CodecID(const std::string& codec_id,
return false;
}
- std::string profile = StringToUpperASCII(codec_id.substr(5, 4));
+ std::string profile = base::StringToUpperASCII(codec_id.substr(5, 4));
if (IsValidH264BaselineProfile(profile)) {
*codec = MimeUtil::H264_BASELINE;
} else if (profile == "4D40") {
@@ -557,7 +557,8 @@ static bool ParseH264CodecID(const std::string& codec_id,
return true;
}
- *is_ambiguous = !IsValidH264Level(StringToUpperASCII(codec_id.substr(9)));
+ *is_ambiguous =
+ !IsValidH264Level(base::StringToUpperASCII(codec_id.substr(9)));
return true;
}
« no previous file with comments | « extensions/renderer/runtime_custom_bindings.cc ('k') | net/http/http_auth_handler_ntlm_portable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698