diff --git a/starboard/shared/widevine/drm_system_widevine.cc b/starboard/shared/widevine/drm_system_widevine.cc index 08729a8e2982..937288b374af 100644 --- a/starboard/shared/widevine/drm_system_widevine.cc +++ b/starboard/shared/widevine/drm_system_widevine.cc @@ -631,8 +631,8 @@ void DrmSystemWidevine::onMessage(const std::string& wvcdm_session_id, } } -void DrmSystemWidevine::onKeyStatusesChange( - const std::string& wvcdm_session_id) { +void DrmSystemWidevine::onKeyStatusesChange(const std::string& wvcdm_session_id, + bool has_new_usable_key) { wv3cdm::KeyStatusMap key_statuses; wv3cdm::Status status = cdm_->getKeyStatuses(wvcdm_session_id, &key_statuses); diff --git a/starboard/shared/widevine/drm_system_widevine.h b/starboard/shared/widevine/drm_system_widevine.h index af39389f3fe5..6a9d28620437 100644 --- a/starboard/shared/widevine/drm_system_widevine.h +++ b/starboard/shared/widevine/drm_system_widevine.h @@ -117,7 +117,9 @@ class DrmSystemWidevine : public SbDrmSystemPrivate, ::widevine::Cdm::MessageType message_type, const std::string& message) override; // There has been a change in the keys in the session or their status. - void onKeyStatusesChange(const std::string& wvcdm_session_id) override; + void onKeyStatusesChange(const std::string& wvcdm_session_id, + bool has_new_usable_key) override; + // A remove() operation has been completed. void onRemoveComplete(const std::string& wvcdm_session_id) override; // Called when a deferred action has completed.