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 3895c71d907332dc7b01303363aba655a7b0a156..594b3366c744e31481eea54da7ad0357d2863a38 100644 |
--- a/ppapi/thunk/ppb_video_decoder_thunk.cc |
+++ b/ppapi/thunk/ppb_video_decoder_thunk.cc |
@@ -18,7 +18,7 @@ typedef EnterResource<PPB_VideoDecoder_API> EnterVideoDecoder; |
PP_Resource Create(PP_Instance instance, |
PP_Resource graphics_3d, |
PP_VideoDecoder_Profile profile) { |
- EnterFunction<ResourceCreationAPI> enter(instance, true); |
+ EnterResourceCreation enter(instance); |
if (enter.failed()) |
return 0; |
return enter.functions()->CreateVideoDecoder(instance, graphics_3d, profile); |