[LayoutNG] Avoid NGPaintFragment::List::size()
The use here is for memory alloc performance, but since it has inline capacity of 64, it won't help when |size()| is O(n). Bug: 945671 Change-Id: I166e6615bcae5a814116ee1b6aaf0349405a67ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1535507 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:
Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#644431}
Showing
Please register or sign in to comment