Index: ppapi/thunk/ppb_video_capture_thunk.cc |
diff --git a/ppapi/thunk/ppb_video_capture_thunk.cc b/ppapi/thunk/ppb_video_capture_thunk.cc |
index 66ea4bcdb57e2986e8d4e9af0413383a07419dcf..2471446ec579d09695d700343072dfe7f4147703 100644 |
--- a/ppapi/thunk/ppb_video_capture_thunk.cc |
+++ b/ppapi/thunk/ppb_video_capture_thunk.cc |
@@ -18,7 +18,7 @@ namespace { |
typedef EnterResource<PPB_VideoCapture_API> EnterVideoCapture; |
PP_Resource Create(PP_Instance instance) { |
- EnterFunction<ResourceCreationAPI> enter(instance, true); |
+ EnterResourceCreation enter(instance); |
if (enter.failed()) |
return 0; |
return enter.functions()->CreateVideoCapture(instance); |