| Index: ppapi/cpp/var.h
|
| diff --git a/ppapi/cpp/var.h b/ppapi/cpp/var.h
|
| index 0cd82185b83b02b21eab3e3f945dd47bc1e3a015..fc65d382c0218757177ac56a0360d5511c3cb9b9 100644
|
| --- a/ppapi/cpp/var.h
|
| +++ b/ppapi/cpp/var.h
|
| @@ -158,6 +158,9 @@ class Var {
|
| var_.type == PP_VARTYPE_DOUBLE;
|
| }
|
|
|
| + /// This function determines if this <code>Var</code> is an ArrayBuffer.
|
| + bool is_array_buffer() const { return var_.type == PP_VARTYPE_ARRAY_BUFFER; }
|
| +
|
| /// AsBool() converts this <code>Var</code> to a bool. Assumes the
|
| /// internal representation is_bool(). If it's not, it will assert in debug
|
| /// mode, and return false.
|
|
|