| Index: ppapi/cpp/var.h
|
| diff --git a/ppapi/cpp/var.h b/ppapi/cpp/var.h
|
| index 01b4072b2871c124bcb7179515e1cd43aa24783b..34730e364d255c869dbee7905c111909c0d2fb2b 100644
|
| --- a/ppapi/cpp/var.h
|
| +++ b/ppapi/cpp/var.h
|
| @@ -160,6 +160,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.
|
|
|