Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 1ae81b13252e3a1bdf50cb53b66433dd49b053f3..d442126ebbb3c23babfa8cec218edf2fd630480c 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3071,6 +3071,12 @@ void v8::ArrayBuffer::CheckCast(Value* that) { |
} |
+void v8::ArrayBuffer::Allocator::Free(void* data) { |
+ API_Fatal("v8::ArrayBuffer::Allocator::Free", |
+ "Override Allocator::Free(void*, size_t)"); |
+} |
+ |
+ |
void v8::ArrayBufferView::CheckCast(Value* that) { |
i::Handle<i::Object> obj = Utils::OpenHandle(that); |
ApiCheck(obj->IsJSArrayBufferView(), |