| Index: webkit/plugins/ppapi/resource_creation_impl.cc
|
| diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
|
| index 17ef13b6fd004304406504b8276cd0d4e7535ebc..ee10679477bc04cbb3fa85a49634874bb885a6df 100644
|
| --- a/webkit/plugins/ppapi/resource_creation_impl.cc
|
| +++ b/webkit/plugins/ppapi/resource_creation_impl.cc
|
| @@ -310,8 +310,16 @@ PP_Resource ResourceCreationImpl::CreateVideoCapture(PP_Instance instance) {
|
| PP_Resource ResourceCreationImpl::CreateVideoDecoder(
|
| PP_Instance instance,
|
| PP_Resource graphics3d_id,
|
| - PP_VideoDecoder_Profile profile) {
|
| - return PPB_VideoDecoder_Impl::Create(instance, graphics3d_id, profile);
|
| + PP_VideoDecoder_Profile profile,
|
| + const PP_Size& frame_size,
|
| + const uint8_t* extra_data,
|
| + uint32_t extra_data_size) {
|
| + std::vector<uint8_t> extra_data_vector;
|
| + if (extra_data)
|
| + extra_data_vector.assign(extra_data, extra_data + extra_data_size);
|
| +
|
| + return PPB_VideoDecoder_Impl::Create(instance, graphics3d_id, profile,
|
| + gfx::Size(frame_size.width, frame_size.height), extra_data_vector);
|
| }
|
|
|
| PP_Resource ResourceCreationImpl::CreateVideoLayer(PP_Instance instance,
|
|
|