| Index: ppapi/cpp/dev/video_decoder_dev.cc
|
| diff --git a/ppapi/cpp/dev/video_decoder_dev.cc b/ppapi/cpp/dev/video_decoder_dev.cc
|
| index ad2ebd6579fbe7ad49c2fcbcdf8f266481bc5be4..2c2c3502a67ad2848a0a195b01f662c2a81ebcb5 100644
|
| --- a/ppapi/cpp/dev/video_decoder_dev.cc
|
| +++ b/ppapi/cpp/dev/video_decoder_dev.cc
|
| @@ -24,11 +24,14 @@ template <> const char* interface_name<PPB_VideoDecoder_Dev>() {
|
|
|
| VideoDecoder_Dev::VideoDecoder_Dev(const InstanceHandle& instance,
|
| const Graphics3D& context,
|
| - PP_VideoDecoder_Profile profile) {
|
| + PP_VideoDecoder_Profile profile,
|
| + const PP_Size& frame_size,
|
| + const std::vector<uint8_t>& extra_data) {
|
| if (!has_interface<PPB_VideoDecoder_Dev>())
|
| return;
|
| PassRefFromConstructor(get_interface<PPB_VideoDecoder_Dev>()->Create(
|
| - instance.pp_instance(), context.pp_resource(), profile));
|
| + instance.pp_instance(), context.pp_resource(), profile, &frame_size,
|
| + extra_data.empty() ? NULL : &extra_data[0], extra_data.size()));
|
| }
|
|
|
| VideoDecoder_Dev::VideoDecoder_Dev(PP_Resource resource) : Resource(resource) {
|
|
|