Commit d8e1b9d0 authored by Ian Kilpatrick's avatar Ian Kilpatrick Committed by Commit Bot

Remove DHCECK within ComputeIntrinsicPadding.

This was added within:
https://chromium-review.googlesource.com/c/chromium/src/+/1754097

When we adjust the table-cell intrinsic-padding for scrollbars.
This calculation can safely ignore the block-start scrollbar if present.

Bug: 1008302
Change-Id: I3b747714da9c6736708b5b8d563450cdb13df524
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2136888Reviewed-by: default avatarAleks Totic <atotic@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756579}
parent 6cd49a00
...@@ -804,7 +804,6 @@ NGBoxStrut ComputeIntrinsicPadding(const NGConstraintSpace& constraint_space, ...@@ -804,7 +804,6 @@ NGBoxStrut ComputeIntrinsicPadding(const NGConstraintSpace& constraint_space,
const ComputedStyle& style, const ComputedStyle& style,
const NGBoxStrut& scrollbar) { const NGBoxStrut& scrollbar) {
DCHECK(constraint_space.IsTableCell()); DCHECK(constraint_space.IsTableCell());
DCHECK(!scrollbar.block_start);
// During the "layout" table phase, adjust the given intrinsic-padding to // During the "layout" table phase, adjust the given intrinsic-padding to
// accommodate the scrollbar. // accommodate the scrollbar.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment