• Michael Hablich's avatar
    Revert "[Memory] Move VirtualMemory out of base:: platform." · 4fc43530
    Michael Hablich authored
    This reverts commit 4dd293d9.
    
    Reason for revert: Blocks roll: https://chromium-review.googlesource.com/c/chromium/src/+/669785
    
    Original change's description:
    > [Memory] Move VirtualMemory out of base:: platform.
    > 
    > - Moves base::VirtualMemory to v8::internal::VirtualMemory.
    > - Makes VirtualMemory platform-independent by moving internals to new
    >   OS:: static methods, for each platform.
    > 
    > This will make it easier to delegate memory management in VirtualMemory
    > to V8::Platform, so that embedders like Blink can override it. We can't
    > depend on V8::Platform in base/platform.
    > 
    > Bug: chromium:756050
    > Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    > Change-Id: Iadfe230b6850bd917727a373f277afded9883adf
    > Reviewed-on: https://chromium-review.googlesource.com/653214
    > Commit-Queue: Bill Budge <bbudge@chromium.org>
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#48048}
    
    TBR=bbudge@chromium.org,ulan@chromium.org,hpayer@chromium.org,mlippautz@chromium.org,scottmg@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: chromium:756050
    Change-Id: Ice2618ef72950e1b64c31434a239c626aa5e5970
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Reviewed-on: https://chromium-review.googlesource.com/670843Reviewed-by: 's avatarMichael Hablich <hablich@chromium.org>
    Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
    Commit-Queue: Michael Hablich <hablich@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48062}
    4fc43530
api.cc 395 KB