| Index: ppapi/thunk/ppb_video_destination_private_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_video_destination_private_thunk.cc b/ppapi/thunk/ppb_video_destination_private_thunk.cc
|
| index 325f0bcae23adbfbba8abc31e8737413426603de..11ba64fd3aad4f4225bdc4e6d07d31d936ffb41e 100644
|
| --- a/ppapi/thunk/ppb_video_destination_private_thunk.cc
|
| +++ b/ppapi/thunk/ppb_video_destination_private_thunk.cc
|
| @@ -33,15 +33,14 @@ PP_Bool IsVideoDestination(PP_Resource resource) {
|
| int32_t Open(PP_Resource destination,
|
| PP_Var stream_url,
|
| PP_CompletionCallback callback) {
|
| - EnterResource<PPB_VideoDestination_Private_API> enter(destination,
|
| - callback, true);
|
| + EnterResource<PPB_VideoDestination_Private_API> enter(
|
| + destination, callback, true);
|
| if (enter.failed())
|
| return enter.retval();
|
| return enter.SetResult(enter.object()->Open(stream_url, enter.callback()));
|
| }
|
|
|
| -int32_t PutFrame(PP_Resource destination,
|
| - const PP_VideoFrame_Private* frame) {
|
| +int32_t PutFrame(PP_Resource destination, const PP_VideoFrame_Private* frame) {
|
| EnterResource<PPB_VideoDestination_Private_API> enter(destination, true);
|
| if (enter.failed())
|
| return enter.retval();
|
| @@ -55,18 +54,13 @@ void Close(PP_Resource destination) {
|
| }
|
|
|
| const PPB_VideoDestination_Private_0_1
|
| - g_ppb_video_destination_private_thunk_0_1 = {
|
| - &Create,
|
| - &IsVideoDestination,
|
| - &Open,
|
| - &PutFrame,
|
| - &Close
|
| -};
|
| + g_ppb_video_destination_private_thunk_0_1 = {&Create, &IsVideoDestination,
|
| + &Open, &PutFrame, &Close};
|
|
|
| } // namespace
|
|
|
| const PPB_VideoDestination_Private_0_1*
|
| - GetPPB_VideoDestination_Private_0_1_Thunk() {
|
| +GetPPB_VideoDestination_Private_0_1_Thunk() {
|
| return &g_ppb_video_destination_private_thunk_0_1;
|
| }
|
|
|
|
|