Move duplicate CappedSizeInKB() to header file for sharing
Some jumbo builds broke because of too many CappedSizeInKB so moving it to heap.h to unbreak the builds. It's a small inlined method. The moved function is not using std::min to avoid including <algorithm> in heap.h and potentially causing a measurable build time regression. TBR=mlippautz@chromium.org,haraken@chromium.org Bug: 840789 Change-Id: I4e4bf3989235c6e7274a56f5c10823d8bb37a4df Reviewed-on: https://chromium-review.googlesource.com/1090839Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Michael Lippautz <mlippautz@chromium.org> Reviewed-by:
Daniel Bratell <bratell@opera.com> Commit-Queue: Daniel Bratell <bratell@opera.com> Cr-Commit-Position: refs/heads/master@{#565289}
Showing
Please register or sign in to comment