[LayoutNG] Break infinite loop within SweepLegacyDescendants.
I've been trying to produce a simplified repro with this but to no avail so far. Basically legacy can get into a state where a layout_layout's LayoutBlock::PositionedObjects map contains a positioned-object, however that postiioned-object's containing-block is a node further up the tree. Somewhere (during a style change, inline-splitting, etc) we are missing a call to RemovePositionedObject(s). I've added a NOTREACHED() on the branch so that clusterfuzz can pick up the issue with a simpler test-case. Bug: 977930 Change-Id: I60d5c25f4565d92bff24c10ef46211c23babee28 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678841Reviewed-by:Aleks Totic <atotic@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#672733}
Showing
Please register or sign in to comment