commit | 9579e5a163b57496c4a09095b3cfe790c56f50e7 | [log] [tgz] |
---|---|---|
author | Ian Kilpatrick <ikilpatrick@chromium.org> | Wed Jul 18 20:37:55 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 18 20:37:55 2018 |
tree | 4c4211e57e942a8d879ff27adb8219571f237f2f | |
parent | 3ec04a79adf8d7721673ea74fd71f6e877c06a8c [diff] |
[LayoutNG] Avoid copying a shelf in loop of NGExclusionSpace::Add. Every pass of the ExclusionSpace::Add loop invoked a copy of a shelf optimistically. This isn't needed for every pass, and only needed for the single pass where we are actually going to add the shelf. (there is potential to remove additional copies, but we'll see if that is needed later). Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: Ia7cdafc71bf0ea0c657763957ef8c5e0e0953382 Bug: 635619 Reviewed-on: https://chromium-review.googlesource.com/1140521 Reviewed-by: Koji Ishii <kojii@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#576192}
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 .