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..04418671b0fa8db0e2489482171d4f5669c72509 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_, |
+ static_cast<int32_t>(profiles.size())); |
bbudge
2015/04/08 12:47:31
nit: base::checked_cast is how we're doing this no
|
} |
void VideoEncoderResource::OnPluginMsgInitializeReply( |