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

Unified Diff: test/mkgrokdump/mkgrokdump.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 | « src/d8.cc ('k') | test/unittests/value-serializer-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mkgrokdump/mkgrokdump.cc
diff --git a/test/mkgrokdump/mkgrokdump.cc b/test/mkgrokdump/mkgrokdump.cc
index e5a41a13ba3a7ce09b175c28ada3066a0752126a..ab6247fa6b69d8ddba2b0cb088bd6ea50155dcb8 100644
--- a/test/mkgrokdump/mkgrokdump.cc
+++ b/test/mkgrokdump/mkgrokdump.cc
@@ -37,7 +37,11 @@ class MockArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
public:
void* Allocate(size_t length) override { return nullptr; }
void* AllocateUninitialized(size_t length) override { return nullptr; }
+ void* Reserve(size_t length) override { return nullptr; }
+ void Free(void* data, size_t length, AllocationMode mode) override {}
void Free(void* p, size_t) override {}
+ void SetProtection(void* data, size_t length,
+ Protection protection) override {}
};
static int DumpHeapConstants(const char* argv0) {
« no previous file with comments | « src/d8.cc ('k') | test/unittests/value-serializer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698