• Eric Holk's avatar
    Use old ArrayBuffer free by default · c9756be9
    Eric Holk authored
    If the new Free function is not implemented, but we are freeing a Normal
    allocation, as opposed to one with guard regions, we can fall back on the
    existing Free function.
    
    Because guard regions are not yet used in normal circumstances, this will let
    embedders who have not implemented the improve ArrayBuffer::Allocator interface
    to continue working.
    
    Bug: 
    Change-Id: I2e30b523ef7493ab288110b90d8f994bfcfbc9b7
    Reviewed-on: https://chromium-review.googlesource.com/508897
    Commit-Queue: Eric Holk <eholk@chromium.org>
    Commit-Queue: Brad Nelson <bradnelson@chromium.org>
    Reviewed-by: 's avatarBrad Nelson <bradnelson@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#45408}
    c9756be9
api.cc 376 KB