summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/ppb_video_decoder_thunk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/thunk/ppb_video_decoder_thunk.cc')
-rw-r--r--ppapi/thunk/ppb_video_decoder_thunk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/thunk/ppb_video_decoder_thunk.cc b/ppapi/thunk/ppb_video_decoder_thunk.cc
index cb0485c..b7a72d9 100644
--- a/ppapi/thunk/ppb_video_decoder_thunk.cc
+++ b/ppapi/thunk/ppb_video_decoder_thunk.cc
@@ -18,11 +18,11 @@ typedef EnterResource<PPB_VideoDecoder_API> EnterVideoDecoder;
PP_Resource Create(PP_Instance instance,
PP_Resource context_3d,
- const PP_VideoConfigElement* config) {
+ PP_VideoDecoder_Profile profile) {
EnterFunction<ResourceCreationAPI> enter(instance, true);
if (enter.failed())
return 0;
- return enter.functions()->CreateVideoDecoder(instance, context_3d, config);
+ return enter.functions()->CreateVideoDecoder(instance, context_3d, profile);
}
PP_Bool IsVideoDecoder(PP_Resource resource) {