| Index: ppapi/thunk/ppb_video_decoder_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_video_decoder_thunk.cc b/ppapi/thunk/ppb_video_decoder_thunk.cc
|
| index f1b7c44926169646e37d8430c5aceb38e548f6f6..50b8d2429fe06cf92cd7d0c730d991534d12a282 100644
|
| --- a/ppapi/thunk/ppb_video_decoder_thunk.cc
|
| +++ b/ppapi/thunk/ppb_video_decoder_thunk.cc
|
| @@ -30,14 +30,11 @@ PP_Bool IsVideoDecoder(PP_Resource resource) {
|
|
|
| int32_t Initialize(PP_Resource video_decoder,
|
| PP_Resource context_id,
|
| - const PP_VideoConfigElement* decoder_config,
|
| - PP_CompletionCallback callback) {
|
| + const PP_VideoConfigElement* decoder_config) {
|
| EnterVideoDecoder enter(video_decoder, true);
|
| if (enter.failed())
|
| - return MayForceCallback(callback, PP_ERROR_BADRESOURCE);
|
| - int32_t result =
|
| - enter.object()->Initialize(context_id, decoder_config, callback);
|
| - return MayForceCallback(callback, result);
|
| + return PP_ERROR_BADRESOURCE;
|
| + return enter.object()->Initialize(context_id, decoder_config);
|
| }
|
|
|
| int32_t Decode(PP_Resource video_decoder,
|
|
|