| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 11fccdf023999ff3c3a8acf425c669be29cae54c..a4eae968d3a5f1f4aa3c7e5b3a14b1742153737b 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -2410,20 +2410,8 @@ class V8EXPORT ArrayBuffer : public Object {
|
|
|
| /**
|
| * Allocate |length| bytes. Return NULL if allocation is not successful.
|
| - * Memory should be initialized to zeroes.
|
| */
|
| virtual void* Allocate(size_t length) = 0;
|
| -
|
| - /**
|
| - * Allocate |length| bytes. Return NULL if allocation is not successful.
|
| - * Memory does not have to be initialized.
|
| - */
|
| - virtual void* AllocateUninitialized(size_t length) {
|
| - // Override with call to |Allocate| for compatibility
|
| - // with legacy version.
|
| - return Allocate(length);
|
| - }
|
| -
|
| /**
|
| * Free the memory pointed to |data|. That memory is guaranteed to be
|
| * previously allocated by |Allocate|.
|
|
|