Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(550)

Unified Diff: test/unittests/value-serializer-unittest.cc

Issue 2895923002: Fix compilation failure due to overload of virtual function (Closed)
Patch Set: Add Reserver and SetProtection in test array buffer allocators Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mkgrokdump/mkgrokdump.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « test/mkgrokdump/mkgrokdump.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698