summaryrefslogtreecommitdiff
path: root/fxjs/fxjs_v8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/fxjs_v8.cpp')
-rw-r--r--fxjs/fxjs_v8.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/fxjs/fxjs_v8.cpp b/fxjs/fxjs_v8.cpp
index 9c1c3e84f3..10aa51395e 100644
--- a/fxjs/fxjs_v8.cpp
+++ b/fxjs/fxjs_v8.cpp
@@ -161,7 +161,8 @@ void* FXJS_ArrayBufferAllocator::AllocateUninitialized(size_t length) {
}
void FXJS_ArrayBufferAllocator::Free(void* data, size_t length) {
- pdfium::base::PartitionFree(data);
+ pdfium::base::PartitionFreeGeneric(gArrayBufferPartitionAllocator.root(),
+ data);
}
void V8TemplateMapTraits::Dispose(v8::Isolate* isolate,