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

Unified Diff: trunk/src/content/renderer/media/android/webmediaplayer_android.cc

Issue 198163004: Revert 257524 "Move IsStringASCII/UTF8 to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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: trunk/src/content/renderer/media/android/webmediaplayer_android.cc
===================================================================
--- trunk/src/content/renderer/media/android/webmediaplayer_android.cc (revision 257532)
+++ trunk/src/content/renderer/media/android/webmediaplayer_android.cc (working copy)
@@ -1101,8 +1101,7 @@
// Convert a WebString to ASCII, falling back on an empty string in the case
// of a non-ASCII string.
static std::string ToASCIIOrEmpty(const blink::WebString& string) {
- return base::IsStringASCII(string) ? base::UTF16ToASCII(string)
- : std::string();
+ return IsStringASCII(string) ? base::UTF16ToASCII(string) : std::string();
}
// Helper functions to report media EME related stats to UMA. They follow the

Powered by Google App Engine
This is Rietveld 408576698