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

Unified Diff: content/renderer/media/pepper_platform_video_decoder.h

Issue 170843004: Pass Client pointer in Initialize() for VDA/VEA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 48f212da fischman@ comments. Created 6 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: content/renderer/media/pepper_platform_video_decoder.h
diff --git a/content/renderer/media/pepper_platform_video_decoder.h b/content/renderer/media/pepper_platform_video_decoder.h
index 83b6487140d224cd561c3422934fcda31d6fc734..729c0bb61fa752b09070c84b52f1a15754b0765e 100644
--- a/content/renderer/media/pepper_platform_video_decoder.h
+++ b/content/renderer/media/pepper_platform_video_decoder.h
@@ -17,12 +17,12 @@ namespace content {
class PlatformVideoDecoder : public media::VideoDecodeAccelerator,
public media::VideoDecodeAccelerator::Client {
public:
- PlatformVideoDecoder(media::VideoDecodeAccelerator::Client* client,
- int32 command_buffer_route_id);
+ explicit PlatformVideoDecoder(int32 command_buffer_route_id);
virtual ~PlatformVideoDecoder();
// PlatformVideoDecoder (a.k.a. VideoDecodeAccelerator) implementation.
- virtual bool Initialize(media::VideoCodecProfile profile) OVERRIDE;
+ virtual bool Initialize(media::VideoDecodeAccelerator::Client* client,
+ media::VideoCodecProfile profile) OVERRIDE;
virtual void Decode(
const media::BitstreamBuffer& bitstream_buffer) OVERRIDE;
virtual void AssignPictureBuffers(

Powered by Google App Engine
This is Rietveld 408576698