Index: Source/wtf/ArrayBufferContents.h |
diff --git a/Source/wtf/ArrayBufferContents.h b/Source/wtf/ArrayBufferContents.h |
index d5b4fc304c7beb60549620322c4e9517f9c22962..cce0609938ebb1d2234b6488fca021e1d8eac8fd 100644 |
--- a/Source/wtf/ArrayBufferContents.h |
+++ b/Source/wtf/ArrayBufferContents.h |
@@ -94,8 +94,12 @@ private: |
unsigned sizeInBytes() const { return m_sizeInBytes; } |
bool isShared() const { return m_isShared == Shared; } |
+ void setAllocated(bool allocate) { m_malloc = allocate; } |
+ bool isAllocated() const { return m_malloc; } |
+ |
private: |
void* m_data; |
+ bool m_malloc; |
unsigned m_sizeInBytes; |
SharingType m_isShared; |
}; |