Index: ppapi/thunk/ppb_video_layer_thunk.cc |
diff --git a/ppapi/thunk/ppb_video_layer_thunk.cc b/ppapi/thunk/ppb_video_layer_thunk.cc |
index dc1e8428f81b7c71d135426628ab81020c368b86..8b97364e99097474e0e7474835df3f364cbec3a7 100644 |
--- a/ppapi/thunk/ppb_video_layer_thunk.cc |
+++ b/ppapi/thunk/ppb_video_layer_thunk.cc |
@@ -15,7 +15,7 @@ namespace { |
typedef EnterResource<PPB_VideoLayer_API> EnterVideoLayer; |
PP_Resource Create(PP_Instance instance, PP_VideoLayerMode_Dev mode) { |
- EnterFunction<ResourceCreationAPI> enter(instance, true); |
+ EnterResourceCreation enter(instance); |
if (enter.failed()) |
return 0; |
return enter.functions()->CreateVideoLayer(instance, mode); |