| Index: ppapi/proxy/video_encoder_resource.cc
|
| diff --git a/ppapi/proxy/video_encoder_resource.cc b/ppapi/proxy/video_encoder_resource.cc
|
| index d337b7b8ee6ca845aa05b405c1d1ccbd0896410c..5f216628480c4b9df30f97b628878a0126fa9db8 100644
|
| --- a/ppapi/proxy/video_encoder_resource.cc
|
| +++ b/ppapi/proxy/video_encoder_resource.cc
|
| @@ -267,7 +267,8 @@ void VideoEncoderResource::OnPluginMsgGetSupportedProfilesReply(
|
| return;
|
| }
|
|
|
| - RunCallback(&get_supported_profiles_callback_, PP_OK);
|
| + RunCallback(&get_supported_profiles_callback_,
|
| + base::checked_cast<int32_t>(profiles.size()));
|
| }
|
|
|
| void VideoEncoderResource::OnPluginMsgInitializeReply(
|
|
|