commit | d6e0bb934a513d5b8e3a9fb6464eb821960e44a4 | [log] [tgz] |
---|---|---|
author | Ian Kilpatrick <ikilpatrick@chromium.org> | Thu Aug 24 01:06:34 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 24 01:06:34 2017 |
tree | aa3ea30037b2af1395c52007f5b3b91dd6ed5c1c | |
parent | 9f87581632a7adf06a95c89cb444619ec5933c1f [diff] |
[LayoutNG] Make NGLayoutResult, NGConstraintSpace immutable. This fixes the shared exclusion space which was being passed around a block formatting context. Instead of sharing currently it includes the NGExclusionSpace copy constructor. This isn't optimal, but correct at the moment. We can speed this up by override the NGExclusionSpace copy constructor to share a backing vector + index into that vector. The last bit to fix up is inside NGLineBreaker to rewind over floats. The next followup will be constifying NGConstraintSpace everywhere. Bug: 635619 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Ia0b17dddf5499d5c29980c0bce846e472998ad50 Reviewed-on: https://chromium-review.googlesource.com/621390 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#496901}
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 .