Renaming memory_used() in cached_storage_area.cc to better reflect what the function does
The memory_used() function in cached_storage_area.cc actually returns quota_used by storage area map which is 2 times the size in memory. It is renamed to quota_used() to better reflect what it does and a new memory_used() function has been added to return the actual memory used. For context see this cl: https://chromium-review.googlesource.com/c/chromium/src/+/1541242/ Bug: None Change-Id: I05ad7ae51528283c239512ee0be4f30f66861c56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1596452 Commit-Queue: Tanmoy Mollik <triploblastic@google.com> Reviewed-by:Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#657330}
Showing
Please register or sign in to comment