Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[carousel] Fix AttachLayoutTree for ::scroll-marker expecting parent
If ::scroll-marker is inside the element that requires style recalc, but not layout, context.parent is nullptr. So, we have to if() attachment instead of CHECK(context.parent). Fixed: 394980089 Change-Id: Iefdc99a1b65cabeb91d1cf5d7f79e47a0a787e0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6298048 Reviewed-by: Rune Lillesveen <[email protected]> Commit-Queue: Daniil Sakhapov <[email protected]> Cr-Commit-Position: refs/heads/main@{#1423840}
- Loading branch information