Index: ppapi/thunk/ppb_network_monitor_private_thunk.cc |
diff --git a/ppapi/thunk/ppb_network_monitor_private_thunk.cc b/ppapi/thunk/ppb_network_monitor_private_thunk.cc |
index e692601e195093aa78a2ea1fdc950deb92bad80e..0382e923990eacd0f4c9a80e41cdec0e17bdeccc 100644 |
--- a/ppapi/thunk/ppb_network_monitor_private_thunk.cc |
+++ b/ppapi/thunk/ppb_network_monitor_private_thunk.cc |
@@ -18,7 +18,7 @@ typedef EnterResource<PPB_NetworkMonitor_Private_API> EnterNetworkMonitor; |
PP_Resource Create(PP_Instance instance, |
PPB_NetworkMonitor_Callback callback, |
void* user_data) { |
- EnterFunction<ResourceCreationAPI> enter(instance, true); |
+ EnterResourceCreation enter(instance); |
if (enter.failed()) |
return 0; |
return enter.functions()->CreateNetworkMonitor(instance, callback, user_data); |