| Index: ppapi/proxy/ppb_video_decoder_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_video_decoder_proxy.cc b/ppapi/proxy/ppb_video_decoder_proxy.cc
|
| index 7699c84ecaab1bc74a31defcc16d7f8d7045a459..407bb17291ba3b993cc8309f0c339eca6afb4857 100644
|
| --- a/ppapi/proxy/ppb_video_decoder_proxy.cc
|
| +++ b/ppapi/proxy/ppb_video_decoder_proxy.cc
|
| @@ -247,7 +247,8 @@ void PPB_VideoDecoder_Proxy::OnMsgAssignPictureBuffers(
|
| EnterHostFromHostResource<PPB_VideoDecoder_Dev_API> enter(decoder);
|
| if (enter.succeeded() && !buffers.empty()) {
|
| const PP_PictureBuffer_Dev* buffer_array = &buffers.front();
|
| - enter.object()->AssignPictureBuffers(buffers.size(), buffer_array);
|
| + enter.object()->AssignPictureBuffers(
|
| + static_cast<uint32_t>(buffers.size()), buffer_array);
|
| }
|
| }
|
|
|
|
|