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

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

Issue 1231273005: Access MediaKeyErrorCode from WebMediaPlayerEncryptedMediaClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/webmediaplayer_android.cc
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
index 6f3432d19454a2e0aeb1181a50e45e55731428df..d9a4414500f45e5a4ca020c1acc91f891b85a8a5 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -1722,7 +1722,8 @@ void WebMediaPlayerAndroid::OnKeyError(const std::string& session_id,
encrypted_client_->keyError(
WebString::fromUTF8(media::GetPrefixedKeySystemName(current_key_system_)),
WebString::fromUTF8(session_id),
- static_cast<blink::WebMediaPlayerClient::MediaKeyErrorCode>(error_code),
+ static_cast<blink::WebMediaPlayerEncryptedMediaClient::MediaKeyErrorCode>(
+ error_code),
short_system_code);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698