Index: media/blink/encrypted_media_player_support.cc |
diff --git a/media/blink/encrypted_media_player_support.cc b/media/blink/encrypted_media_player_support.cc |
index 39ae48f113c776e37386fa58bf53357954972129..748df3f4d784dcfdd212b75900e80052eab708c5 100644 |
--- a/media/blink/encrypted_media_player_support.cc |
+++ b/media/blink/encrypted_media_player_support.cc |
@@ -16,12 +16,12 @@ |
#include "media/base/key_systems.h" |
#include "media/blink/webcontentdecryptionmodule_impl.h" |
#include "third_party/WebKit/public/platform/WebContentDecryptionModule.h" |
-#include "third_party/WebKit/public/platform/WebMediaPlayerClient.h" |
+#include "third_party/WebKit/public/platform/WebMediaPlayerEncryptedMediaClient.h" |
#include "third_party/WebKit/public/web/WebDocument.h" |
#include "third_party/WebKit/public/web/WebLocalFrame.h" |
using blink::WebMediaPlayer; |
-using blink::WebMediaPlayerClient; |
+using blink::WebMediaPlayerEncryptedMediaClient; |
using blink::WebString; |
namespace media { |
@@ -115,7 +115,7 @@ static EmeInitDataType GuessInitDataType(const unsigned char* init_data, |
EncryptedMediaPlayerSupport::EncryptedMediaPlayerSupport( |
CdmFactory* cdm_factory, |
- blink::WebMediaPlayerClient* client, |
+ WebMediaPlayerEncryptedMediaClient* client, |
MediaPermission* media_permission, |
const CdmContextReadyCB& cdm_context_ready_cb) |
: cdm_factory_(cdm_factory), |
@@ -305,7 +305,8 @@ void EncryptedMediaPlayerSupport::OnKeyError(const std::string& session_id, |
client_->keyError( |
WebString::fromUTF8(GetPrefixedKeySystemName(current_key_system_)), |
WebString::fromUTF8(session_id), |
- static_cast<WebMediaPlayerClient::MediaKeyErrorCode>(error_code), |
+ static_cast<WebMediaPlayerEncryptedMediaClient::MediaKeyErrorCode>( |
+ error_code), |
short_system_code); |
} |