Index: test/unittests/value-serializer-unittest.cc |
diff --git a/test/unittests/value-serializer-unittest.cc b/test/unittests/value-serializer-unittest.cc |
index 7ca7433eebc1de8f0f4fa503b94f89692c33b239..26685fb2f9140bad9040b7ca33a6eadce8730392 100644 |
--- a/test/unittests/value-serializer-unittest.cc |
+++ b/test/unittests/value-serializer-unittest.cc |
@@ -1894,7 +1894,11 @@ class OOMArrayBufferAllocator : public ArrayBuffer::Allocator { |
public: |
void* Allocate(size_t) override { return nullptr; } |
void* AllocateUninitialized(size_t) override { return nullptr; } |
+ void* Reserve(size_t length) override { return nullptr; } |
+ void Free(void* data, size_t length, AllocationMode mode) override {} |
void Free(void*, size_t) override {} |
+ void SetProtection(void* data, size_t length, |
+ Protection protection) override {} |
}; |
TEST_F(ValueSerializerTest, DecodeArrayBufferOOM) { |