| Index: webkit/plugins/ppapi/ppb_video_decoder_impl.cc
|
| diff --git a/webkit/plugins/ppapi/ppb_video_decoder_impl.cc b/webkit/plugins/ppapi/ppb_video_decoder_impl.cc
|
| index d49a248ebd4a1e2972a0b363ef856dc8d2d03adb..88a058f0d04084aa47716db1f8746bd2e64ef193 100644
|
| --- a/webkit/plugins/ppapi/ppb_video_decoder_impl.cc
|
| +++ b/webkit/plugins/ppapi/ppb_video_decoder_impl.cc
|
| @@ -226,13 +226,16 @@ void PPB_VideoDecoder_Impl::Destroy() {
|
| }
|
|
|
| void PPB_VideoDecoder_Impl::ProvidePictureBuffers(
|
| - uint32 requested_num_of_buffers, const gfx::Size& dimensions) {
|
| + uint32 requested_num_of_buffers,
|
| + const gfx::Size& dimensions,
|
| + media::VideoDecodeAccelerator::TextureTarget texture_target) {
|
| if (!ppp_videodecoder_)
|
| return;
|
|
|
| PP_Size out_dim = PP_MakeSize(dimensions.width(), dimensions.height());
|
| ppp_videodecoder_->ProvidePictureBuffers(pp_instance(), pp_resource(),
|
| - requested_num_of_buffers, &out_dim);
|
| + requested_num_of_buffers, &out_dim,
|
| + static_cast<PP_VideoDecoder_TextureTarget_Dev>(texture_target));
|
| }
|
|
|
| void PPB_VideoDecoder_Impl::PictureReady(const media::Picture& picture) {
|
|
|