Changeset 91113 in webkit
- Timestamp:
- Jul 15, 2011 2:24:32 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r91112 r91113 1 2011-07-15 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r90592. 4 http://trac.webkit.org/changeset/90592 5 https://bugs.webkit.org/show_bug.cgi?id=64627 6 7 Causes crashes with the web audio async decoding API 8 (Requested by jamesr on #webkit). 9 10 * html/canvas/ArrayBuffer.cpp: 11 (WebCore::ArrayBuffer::~ArrayBuffer): 12 (WebCore::ArrayBuffer::tryAllocate): 13 * manual-tests/array-buffer-memory.html: Removed. 14 1 15 2011-07-15 Kenneth Russell <kbr@google.com> 2 16 -
trunk/Source/WebCore/html/canvas/ArrayBuffer.cpp
r90592 r91113 26 26 #include "config.h" 27 27 #include "ArrayBuffer.h" 28 29 #if USE(V8)30 #include "V8Binding.h"31 #endif32 28 33 29 #include <wtf/RefPtr.h> … … 81 77 ArrayBuffer::~ArrayBuffer() 82 78 { 83 #if USE(V8)84 v8::V8::AdjustAmountOfExternalAllocatedMemory(-m_sizeInBytes);85 #endif86 79 WTF::fastFree(m_data); 87 80 } … … 99 92 return 0; 100 93 } 101 if (WTF::tryFastCalloc(numElements, elementByteSize).getValue(result)) { 102 #if USE(V8) 103 v8::V8::AdjustAmountOfExternalAllocatedMemory(numElements * elementByteSize); 104 #endif 94 if (WTF::tryFastCalloc(numElements, elementByteSize).getValue(result)) 105 95 return result; 106 }107 96 return 0; 108 97 }
Note: See TracChangeset
for help on using the changeset viewer.