Use PostLayoutChildren in AddVisualOverflowFromFloats
This patch changes |LayoutBlockFlow:: AddVisualOverflowFromFloats| to use |PostLayoutChildren| to avoid reading stale fragments. DCHECKs were added in r781383 <crrev.com/c/2261092> and these DCHECKs do hit, but we may still read objects that were destroyed or moved out to different location in the tree. Also adds a few more checks to avoid crashes in dirty tree. Bug: 1101449 Change-Id: I3a00052b0a3c86e83789eb542872299d86dbe453 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2275167Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#784528}
Showing
Please register or sign in to comment