| Index: Source/wtf/ArrayBufferContents.h
|
| diff --git a/Source/wtf/ArrayBufferContents.h b/Source/wtf/ArrayBufferContents.h
|
| index 985cf907d84e4ac5fd531b928d93b3990cfa2a92..8d5b8650b2bfeef18b66f144aa789f3d5653ecff 100644
|
| --- a/Source/wtf/ArrayBufferContents.h
|
| +++ b/Source/wtf/ArrayBufferContents.h
|
| @@ -44,11 +44,6 @@ public:
|
| ArrayBufferContents();
|
| ArrayBufferContents(unsigned numElements, unsigned elementByteSize, ArrayBufferContents::InitializationPolicy);
|
|
|
| - // Use with care. data must be allocated with allocateMemory.
|
| - // ArrayBufferContents will take ownership of the data and free it (using freeMemorY)
|
| - // upon destruction.
|
| - ArrayBufferContents(void* data, unsigned sizeInBytes);
|
| -
|
| ~ArrayBufferContents();
|
|
|
| void clear();
|
| @@ -61,9 +56,6 @@ public:
|
|
|
| void transfer(ArrayBufferContents& other);
|
|
|
| - static bool allocateMemory(size_t, InitializationPolicy, void*& data);
|
| - static void freeMemory(void* data);
|
| -
|
| private:
|
| void* m_data;
|
| unsigned m_sizeInBytes;
|
|
|