commit | 7efb8e42e67337d1bac121a6c97d36befb36f723 | [log] [tgz] |
---|---|---|
author | Chase Phillips <cmp@chromium.org> | Sat Aug 18 00:37:26 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Aug 18 00:37:26 2018 |
tree | eb5453c0f89c2599a250ca81c3036caba3984290 | |
parent | 043dcce70d703128aa663bcda541c744ae970a6a [diff] |
Calculate size of new data in SetData() for GC accounting The previous code was using data_->size() for both |external_allocated_size_| and |old_external_allocated_size|, which would lead to AdjustAmountOfExternalAllocatedMemory() always being passed 0. Bug: None Change-Id: If50fbc029124237849121aa56b49093e0890ec85 Reviewed-on: https://chromium-review.googlesource.com/1180467 Commit-Queue: Chase Phillips <cmp@chromium.org> Commit-Queue: Daniel Murphy <dmurph@chromium.org> Reviewed-by: Daniel Murphy <dmurph@chromium.org> Reviewed-by: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#584262}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .