DescriptionMove SessionIdAdapter out of WebContentDecryptionModuleImpl
In order to manage the lifetime of the CDM, have WebContentDecryptionModuleImpl
and WebContentDecryptionModuleSessionImpl both keep RefPtrs to SessionIdAdapter
(now renamed CdmSessionAdapter). CdmSessionAdapter owns the MediaKeys object,
so the CDM gets destroyed when there is no more need for it.
BUG=341567
TEST=EME content tests pass
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252226
Patch Set 1 #
Total comments: 9
Patch Set 2 : cdm_session_id_adapter renamed cdm_session_adapter #
Total comments: 28
Patch Set 3 : Changes #
Total comments: 4
Patch Set 4 : Fix DLOG_IF #
Total comments: 4
Patch Set 5 : const refptr #
Messages
Total messages: 17 (0 generated)
|