summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppb_video_decoder_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/ppapi/ppb_video_decoder_impl.cc')
-rw-r--r--webkit/plugins/ppapi/ppb_video_decoder_impl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/plugins/ppapi/ppb_video_decoder_impl.cc b/webkit/plugins/ppapi/ppb_video_decoder_impl.cc
index 60bed3d..ec2d3f1 100644
--- a/webkit/plugins/ppapi/ppb_video_decoder_impl.cc
+++ b/webkit/plugins/ppapi/ppb_video_decoder_impl.cc
@@ -91,20 +91,20 @@ void ReusePictureBuffer(PP_Resource video_decoder,
decoder->ReusePictureBuffer(picture_buffer);
}
-PP_Bool Flush(PP_Resource decoder_id,
+PP_Bool Flush(PP_Resource video_decoder,
PP_CompletionCallback callback) {
scoped_refptr<PPB_VideoDecoder_Impl> decoder(
- Resource::GetAs<PPB_VideoDecoder_Impl>(decoder_id));
+ Resource::GetAs<PPB_VideoDecoder_Impl>(video_decoder));
if (!decoder)
return PP_FALSE;
return BoolToPPBool(decoder->Flush(callback));
}
-PP_Bool Abort(PP_Resource decoder_id,
+PP_Bool Abort(PP_Resource video_decoder,
PP_CompletionCallback callback) {
scoped_refptr<PPB_VideoDecoder_Impl> decoder(
- Resource::GetAs<PPB_VideoDecoder_Impl>(decoder_id));
+ Resource::GetAs<PPB_VideoDecoder_Impl>(video_decoder));
if (!decoder)
return PP_FALSE;