Index: media/blink/cdm_session_adapter.cc |
diff --git a/media/blink/cdm_session_adapter.cc b/media/blink/cdm_session_adapter.cc |
index e54f43eaf9f1003bea718708d4610abb5c243c40..380430685273b77e216fcba23212b231e31ab123 100644 |
--- a/media/blink/cdm_session_adapter.cc |
+++ b/media/blink/cdm_session_adapter.cc |
@@ -128,7 +128,7 @@ void CdmSessionAdapter::GetUsableKeyIds( |
} |
Decryptor* CdmSessionAdapter::GetDecryptor() { |
- return media_keys_->GetDecryptor(); |
+ return media_keys_->GetCdmContext()->GetDecryptor(); |
} |
const std::string& CdmSessionAdapter::GetKeySystemUMAPrefix() const { |
@@ -137,7 +137,7 @@ const std::string& CdmSessionAdapter::GetKeySystemUMAPrefix() const { |
#if defined(ENABLE_BROWSER_CDMS) |
int CdmSessionAdapter::GetCdmId() const { |
- return media_keys_->GetCdmId(); |
+ return media_keys_->GetCdmContext()->GetCdmId(); |
} |
#endif // defined(ENABLE_BROWSER_CDMS) |