Index: media/video/picture.cc |
=================================================================== |
--- media/video/picture.cc (revision 86686) |
+++ media/video/picture.cc (working copy) |
@@ -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, |