Skip to content

src: rename conflicting Reallocate() method

Upcoming V8 changes add v8::ArrayBuffer::Allocator::Reallocate() that conflicts with our existing Reallocate() method in classes that inherit from v8::ArrayBuffer::Allocator.

Rename our method to TryReallocate(). That also describes its behavior more accurately.

Refs: https://chromium-review.googlesource.com/c/v8/v8/+/2007274

Merge request reports

Loading