Simplify DCHECK at IsContainingBlockForCandidate()
Use CanContainOutOfFlowPositionedElement() to simplify a DCHECK at NGOutOfFlowLayoutPart::IsContainingBlockForCandidate(). The call to CanContainOutOfFlowPositionedElement() is equivalent to the previous code. Change-Id: I361e368729dd5231b3cc5dc52492b01ba4336ac3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2526321 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#825359}
Showing
Please register or sign in to comment