Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index d94e9b32b854826ba221abb3948f057fb74a9a26..cdb23b4655d6b2caadde4a9bd16f45d99902e4fd 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -3511,6 +3511,12 @@ class V8_EXPORT ArrayBufferView : public Object { |
*/ |
size_t CopyContents(void* dest, size_t byte_length); |
+ /** |
+ * Returns true if ArrayBufferView's backing ArrayBuffer has already been |
+ * allocated. |
+ */ |
+ bool HasBuffer() const; |
+ |
V8_INLINE static ArrayBufferView* Cast(Value* obj); |
static const int kInternalFieldCount = |