diff options
Diffstat (limited to 'ppapi/shared_impl/scoped_pp_var.h')
-rw-r--r-- | ppapi/shared_impl/scoped_pp_var.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ppapi/shared_impl/scoped_pp_var.h b/ppapi/shared_impl/scoped_pp_var.h index f1e1347..e55674c 100644 --- a/ppapi/shared_impl/scoped_pp_var.h +++ b/ppapi/shared_impl/scoped_pp_var.h @@ -63,13 +63,13 @@ class PPAPI_SHARED_EXPORT ScopedPPVarArray { // Passes ownership of the vars and the underlying array memory to the caller. // Note that the memory has been allocated with PPB_Memory_Dev. - PP_Var* Release(const PassPPBMemoryAllocatedArray&, size_t* size); + PP_Var* Release(const PassPPBMemoryAllocatedArray&); PP_Var* get() { return array_; } size_t size() { return size_; } - // Adds a ref to |var|. The refcount of the existing var will be decremented. - void Set(size_t index, PP_Var var); + // Takes a ref to |var|. The refcount of the existing var will be decremented. + void Set(size_t index, const ScopedPPVar& var); const PP_Var& operator[](size_t index) { return array_[index]; } private: |