Fix underflow in computation of PrivateMemoryFootprint on macOS.
The underflow was occurring during subtraction of two uints, before the saturated_cast could fix the result. Bug: 812346 Change-Id: I08acf91e137880fe7aba0d41f8ea362c9f81315c Reviewed-on: https://chromium-review.googlesource.com/955908Reviewed-by:Primiano Tucci <primiano@chromium.org> Commit-Queue: Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#543533}
Showing
Please register or sign in to comment