| Index: webkit/plugins/ppapi/ppb_video_decoder_impl.cc
|
| ===================================================================
|
| --- webkit/plugins/ppapi/ppb_video_decoder_impl.cc (revision 86686)
|
| +++ webkit/plugins/ppapi/ppb_video_decoder_impl.cc (working copy)
|
| @@ -398,7 +398,7 @@
|
| // These functions are declared in picture.h but are defined here because of
|
| // dependencies (we can't depend on ppapi types from media).
|
| namespace media {
|
| -BaseBuffer::BaseBuffer(const PP_BufferInfo_Dev& info)
|
| +BufferInfo::BufferInfo(const PP_BufferInfo_Dev& info)
|
| : id_(info.id),
|
| size_(info.size.width, info.size.height) {
|
| }
|
| @@ -406,13 +406,13 @@
|
| // TODO(vrk): This assigns the PP_Resource context to be
|
| // the context_id. Not sure what it's actually supposed to be.
|
| GLESBuffer::GLESBuffer(const PP_GLESBuffer_Dev& buffer)
|
| - : BaseBuffer(buffer.info),
|
| - texture_id_(buffer.texture_id),
|
| - context_id_(buffer.context) {
|
| + : texture_id_(buffer.texture_id),
|
| + context_id_(buffer.context),
|
| + info_(buffer.info) {
|
| }
|
|
|
| SysmemBuffer::SysmemBuffer(const PP_SysmemBuffer_Dev& buffer)
|
| - : BaseBuffer(buffer.info) {
|
| + : info_(buffer.info) {
|
| scoped_refptr<webkit::ppapi::PPB_Buffer_Impl> pepper_buffer =
|
| webkit::ppapi::Resource::GetAs<webkit::ppapi::PPB_Buffer_Impl>(
|
| buffer.data);
|
|
|