| Index: ppapi/c/ppb_var.h
|
| diff --git a/ppapi/c/ppb_var.h b/ppapi/c/ppb_var.h
|
| index 91a65921ae0286e44bb36937e4fe608cdca92457..88c17c50a79cb7ac5bb720f988314b2f1e0ccf92 100644
|
| --- a/ppapi/c/ppb_var.h
|
| +++ b/ppapi/c/ppb_var.h
|
| @@ -3,7 +3,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -/* From ppb_var.idl modified Thu Feb 6 13:48:33 2014. */
|
| +/* From ppb_var.idl modified Tue Apr 8 13:32:15 2014. */
|
|
|
| #ifndef PPAPI_C_PPB_VAR_H_
|
| #define PPAPI_C_PPB_VAR_H_
|
| @@ -44,9 +44,13 @@ struct PPB_Var_1_2 {
|
| void (*AddRef)(struct PP_Var var);
|
| /**
|
| * Release() removes a reference to given var, deleting it if the internal
|
| - * reference count becomes 0. If the given var is not a refcounted object,
|
| - * this function will do nothing so you can always call it no matter what
|
| - * the type.
|
| + * reference count becomes 0. If the <code>PP_Var</code> is of type
|
| + * <code>PP_VARTYPE_RESOURCE</code>,
|
| + * it will implicitly release a reference count on the
|
| + * <code>PP_Resource</code> (equivalent to PPB_Core::ReleaseResource()).
|
| + *
|
| + * If the given var is not a refcounted object, this function will do nothing
|
| + * so you can always call it no matter what the type.
|
| *
|
| * @param[in] var A <code>PP_Var</code> that will have a reference removed.
|
| */
|
| @@ -106,7 +110,9 @@ struct PPB_Var_1_2 {
|
| */
|
| PP_Resource (*VarToResource)(struct PP_Var var);
|
| /**
|
| - * Creates a new <code>PP_Var</code> from a given resource.
|
| + * Creates a new <code>PP_Var</code> from a given resource. Implicitly adds a
|
| + * reference count on the <code>PP_Resource</code> (equivalent to
|
| + * <code>PPB_Core::AddRefResource(resource)</code>).
|
| *
|
| * @param[in] resource A <code>PP_Resource</code> to be wrapped in a var.
|
| *
|
|
|