Move 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 Review URL: https://codereview.chromium.org/171073002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252226 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment