summaryrefslogtreecommitdiffstats
path: root/webkit/media/crypto/ppapi/clear_key_cdm.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/media/crypto/ppapi/clear_key_cdm.h')
-rw-r--r--webkit/media/crypto/ppapi/clear_key_cdm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/media/crypto/ppapi/clear_key_cdm.h b/webkit/media/crypto/ppapi/clear_key_cdm.h
index af27300..7865b06 100644
--- a/webkit/media/crypto/ppapi/clear_key_cdm.h
+++ b/webkit/media/crypto/ppapi/clear_key_cdm.h
@@ -33,7 +33,7 @@ class FFmpegCdmAudioDecoder;
// Clear key implementation of the cdm::ContentDecryptionModule interface.
class ClearKeyCdm : public cdm::ContentDecryptionModule {
public:
- ClearKeyCdm(cdm::Allocator* allocator, cdm::Host* host);
+ explicit ClearKeyCdm(cdm::Host* host);
virtual ~ClearKeyCdm();
// ContentDecryptionModule implementation.
@@ -60,6 +60,7 @@ class ClearKeyCdm : public cdm::ContentDecryptionModule {
virtual cdm::Status DecryptAndDecodeSamples(
const cdm::InputBuffer& encrypted_buffer,
cdm::AudioFrames* audio_frames) OVERRIDE;
+ virtual void Destroy() OVERRIDE;
private:
// TODO(xhwang): After we removed DecryptorClient. We probably can also remove
@@ -141,7 +142,6 @@ class ClearKeyCdm : public cdm::ContentDecryptionModule {
// simultaneously.
base::Lock client_lock_;
- cdm::Allocator* const allocator_;
cdm::Host* host_;
std::string heartbeat_session_id_;