[LayoutNG] Position OOFs before layout.
Shuffle code around in LayoutDescendant(), so that we know the size before (final) layout. Block fragmentation requires that we know the block-start offset before layout, so that the fragmentation machinery knows where fragmentainers end. One exception is centered dialogs. Those cannot occur inside block fragmentation, so I left that piece of code after layout, rather than fixing it (would require some trivial amount of work, but it just doesn't seem worth it). Bug: 829028 Change-Id: I2491507327c5443aaec398682b5bca30d0d3d295 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670881Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Aleks Totic <atotic@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#671529}
Showing
Please register or sign in to comment