Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1558)

Unified Diff: Source/wtf/ArrayBufferContents.h

Issue 18316003: Revert "Use V8 implementation of ArrayBuffer in Blink." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/ArrayBuffer.cpp ('k') | Source/wtf/ArrayBufferContents.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/wtf/ArrayBuffer.cpp ('k') | Source/wtf/ArrayBufferContents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698