Index: media/blink/webmediaplayer_impl.cc |
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc |
index 119810f9214b8611ebb33a8a391d5fc556132f9b..26d8b97943cf305b1212b373117ece8b445573c7 100644 |
--- a/media/blink/webmediaplayer_impl.cc |
+++ b/media/blink/webmediaplayer_impl.cc |
@@ -1095,6 +1095,8 @@ void WebMediaPlayerImpl::OnCdmAttached(bool success) { |
// If the CDM is set from the constructor there is no promise |
// (|set_cdm_result_|) to fulfill. |
if (success) { |
+ media_log_->SetBooleanProperty("has_cdm", true); |
+ |
// This will release the previously attached CDM (if any). |
cdm_ = std::move(pending_cdm_); |
if (set_cdm_result_) { |