Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(978)

Unified Diff: webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h

Issue 12212079: Update Cdm Wrapper and ClearKeyCdm to work with CDM interface version 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged ddorwin's CL (https://codereview.chromium.org/12221102/) Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h
diff --git a/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h b/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h
index 994f0be16c87182f0c1d8a03475d94ed9b8133b5..d9ca867065d0473afd6a275a7b51841b9a9acdeb 100644
--- a/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h
+++ b/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.h
@@ -29,7 +29,7 @@ namespace webkit_media {
// solution for this. See http://crbug.com/169203
class FFmpegCdmAudioDecoder {
public:
- explicit FFmpegCdmAudioDecoder(cdm::Allocator* allocator);
+ explicit FFmpegCdmAudioDecoder(cdm::Host* host);
~FFmpegCdmAudioDecoder();
bool Initialize(const cdm::AudioDecoderConfig& config);
void Deinitialize();
@@ -57,7 +57,7 @@ class FFmpegCdmAudioDecoder {
bool is_initialized_;
- cdm::Allocator* const allocator_;
+ cdm::Host* const host_;
// FFmpeg structures owned by this object.
AVCodecContext* codec_context_;

Powered by Google App Engine
This is Rietveld 408576698