summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/webmediaplayer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/media/webmediaplayer_impl.cc')
-rw-r--r--content/renderer/media/webmediaplayer_impl.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/renderer/media/webmediaplayer_impl.cc b/content/renderer/media/webmediaplayer_impl.cc
index 9f20c7e..9399476 100644
--- a/content/renderer/media/webmediaplayer_impl.cc
+++ b/content/renderer/media/webmediaplayer_impl.cc
@@ -748,8 +748,7 @@ static void ReportMediaKeyExceptionToUMA(const std::string& method,
// 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();
}
WebMediaPlayer::MediaKeyException