| Index: third_party/WebKit/Source/wtf/ArrayBufferContents.h
|
| diff --git a/third_party/WebKit/Source/wtf/ArrayBufferContents.h b/third_party/WebKit/Source/wtf/ArrayBufferContents.h
|
| index d5b4fc304c7beb60549620322c4e9517f9c22962..32cfbf449f56330d546818b4720d4edade45bc44 100644
|
| --- a/third_party/WebKit/Source/wtf/ArrayBufferContents.h
|
| +++ b/third_party/WebKit/Source/wtf/ArrayBufferContents.h
|
| @@ -72,6 +72,7 @@ public:
|
| void copyTo(ArrayBufferContents& other);
|
|
|
| static void allocateMemory(size_t, InitializationPolicy, void*&);
|
| + static void allocateMemoryOrNull(size_t, InitializationPolicy, void*&);
|
| static void freeMemory(void*, size_t);
|
| static void setAdjustAmoutOfExternalAllocatedMemoryFunction(AdjustAmountOfExternalAllocatedMemoryFunction function)
|
| {
|
| @@ -80,6 +81,7 @@ public:
|
| }
|
|
|
| private:
|
| + static void allocateMemoryWithFlags(size_t, InitializationPolicy, int, void*&);
|
| class DataHolder : public ThreadSafeRefCounted<DataHolder> {
|
| WTF_MAKE_NONCOPYABLE(DataHolder);
|
| public:
|
|
|