Index: ppapi/thunk/ppb_transport_thunk.cc |
diff --git a/ppapi/thunk/ppb_transport_thunk.cc b/ppapi/thunk/ppb_transport_thunk.cc |
index 31266e89879c675c6f61e3fd799d484a878f6501..d739e89ea3ff02fcc862c7330ae60c4bdccc8d98 100644 |
--- a/ppapi/thunk/ppb_transport_thunk.cc |
+++ b/ppapi/thunk/ppb_transport_thunk.cc |
@@ -18,7 +18,7 @@ typedef EnterResource<PPB_Transport_API> EnterTransport; |
PP_Resource Create(PP_Instance instance, const char* name, |
PP_TransportType type) { |
- EnterFunction<ResourceCreationAPI> enter(instance, true); |
+ EnterResourceCreation enter(instance); |
if (enter.failed()) |
return 0; |
return enter.functions()->CreateTransport(instance, name, type); |