diff options
Diffstat (limited to 'media/video/picture.cc')
-rw-r--r-- | media/video/picture.cc | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/media/video/picture.cc b/media/video/picture.cc index f2d6632..581e3c9 100644 --- a/media/video/picture.cc +++ b/media/video/picture.cc @@ -6,22 +6,25 @@ namespace media { -BaseBuffer::~BaseBuffer() {} - // Implementations for the other constructors are found in // webkit/plugins/ppapi/ppb_video_decoder_impl.cc. // They are not included in this file because it would require // media/ to depend on files in ppapi/. -BaseBuffer::BaseBuffer(int32 id, gfx::Size size) : id_(id), size_(size) { +BufferInfo::BufferInfo(int32 id, gfx::Size size) + : id_(id), + size_(size) { } GLESBuffer::GLESBuffer( int32 id, gfx::Size size, uint32 texture_id, uint32 context_id) - : BaseBuffer(id, size), texture_id_(texture_id), context_id_(context_id) { + : texture_id_(texture_id), + context_id_(context_id), + info_(id, size) { } SysmemBuffer::SysmemBuffer(int32 id, gfx::Size size, void* data) - : BaseBuffer(id, size), data_(data) { + : data_(data), + info_(id, size) { } Picture::Picture(int32 picture_buffer_id, int32 bitstream_buffer_id, |