Index: test/cctest/cctest.cc |
diff --git a/test/cctest/cctest.cc b/test/cctest/cctest.cc |
index 94dcce1305223f0f25f6e5456d0959b9f71e04a3..a2caf0f3baa7cfd9e8ec36c611803850f857d8f9 100644 |
--- a/test/cctest/cctest.cc |
+++ b/test/cctest/cctest.cc |
@@ -99,9 +99,10 @@ v8::Isolate* CcTest::default_isolate_; |
class CcTestArrayBufferAllocator : public v8::ArrayBuffer::Allocator { |
- public: |
virtual void* Allocate(size_t length) { return malloc(length); } |
- virtual void Free(void* data) { free(data); } |
+ virtual void Free(void* data, size_t length) { free(data); } |
+ // TODO(dslomov): Remove when v8:2823 is fixed. |
+ virtual void Free(void* data) { UNREACHABLE(); } |
}; |