Index: test/cctest/cctest.cc |
diff --git a/test/cctest/cctest.cc b/test/cctest/cctest.cc |
index b20696617cf7b171ca7604487f5407305d8613aa..616c6a3a6bdf85dcd26433b3403be3cc2a45b03c 100644 |
--- a/test/cctest/cctest.cc |
+++ b/test/cctest/cctest.cc |
@@ -100,6 +100,7 @@ v8::Isolate* CcTest::default_isolate_; |
class CcTestArrayBufferAllocator : public v8::ArrayBuffer::Allocator { |
virtual void* Allocate(size_t length) { return malloc(length); } |
+ virtual void* AllocateUninitialized(size_t length) { return malloc(length); } |
virtual void Free(void* data, size_t length) { free(data); } |
// TODO(dslomov): Remove when v8:2823 is fixed. |
virtual void Free(void* data) { UNREACHABLE(); } |