[LayoutNG] Find sibling spanners using the child iterator.
We need to update the child iterator with where we ended up, so that the check (after the outer loop) for whether we're at the end or not works as intended, so that we SetHasSeenAllChildren() if we're at the end, lest we start from the very beginning of the multicol container when resuming layout after the spanners, which would result in an "infinite" loop (well, until we run out of memory, anyway). Bug: 1052834 Change-Id: I6650e9dc2c209ef6097b067344c9cff019ee4071 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2527139Reviewed-by:Alison Maher <almaher@microsoft.com> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#825983}
Showing
Please register or sign in to comment