Index: ppapi/thunk/ppb_tcp_socket_private_thunk.cc |
diff --git a/ppapi/thunk/ppb_tcp_socket_private_thunk.cc b/ppapi/thunk/ppb_tcp_socket_private_thunk.cc |
index bd9703e779f335678e6756ce2bf5ae9450638cb3..fe01e6668aa1a5af594dc6262a70641a64bf96ac 100644 |
--- a/ppapi/thunk/ppb_tcp_socket_private_thunk.cc |
+++ b/ppapi/thunk/ppb_tcp_socket_private_thunk.cc |
@@ -18,7 +18,7 @@ namespace { |
typedef EnterResource<PPB_TCPSocket_Private_API> EnterTCP; |
PP_Resource Create(PP_Instance instance) { |
- EnterFunction<ResourceCreationAPI> enter(instance, true); |
+ EnterResourceCreation enter(instance); |
if (enter.failed()) |
return 0; |
return enter.functions()->CreateTCPSocketPrivate(instance); |