summaryrefslogtreecommitdiff
path: root/fxjs/cfx_v8.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cfx_v8.h')
-rw-r--r--fxjs/cfx_v8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cfx_v8.h b/fxjs/cfx_v8.h
index 04468d5281..f7bed86329 100644
--- a/fxjs/cfx_v8.h
+++ b/fxjs/cfx_v8.h
@@ -66,7 +66,7 @@ class CFX_V8 {
UnownedPtr<v8::Isolate> m_pIsolate;
};
-class CFX_V8ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
+class CFX_V8ArrayBufferAllocator final : public v8::ArrayBuffer::Allocator {
static const size_t kMaxAllowedBytes = 0x10000000;
void* Allocate(size_t length) override;
void* AllocateUninitialized(size_t length) override;