summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/ppb_buffer_thunk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/thunk/ppb_buffer_thunk.cc')
-rw-r--r--ppapi/thunk/ppb_buffer_thunk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/thunk/ppb_buffer_thunk.cc b/ppapi/thunk/ppb_buffer_thunk.cc
index 177a342..9c6698d 100644
--- a/ppapi/thunk/ppb_buffer_thunk.cc
+++ b/ppapi/thunk/ppb_buffer_thunk.cc
@@ -14,7 +14,7 @@ namespace thunk {
namespace {
PP_Resource Create(PP_Instance instance, uint32_t size) {
- EnterFunction<ResourceCreationAPI> enter(instance, true);
+ EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
return enter.functions()->CreateBuffer(instance, size);