Revert "[LayoutNG] Set ShrinkToFit when determining MinMaxSize via layout" #20588
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This reverts commit 4fb5e9ecba28a18c69ef4736cce74664ae82af6a.
Reason for revert: Triggered DCHECK !constraint_space.IsIntermediateLayout() || box_->NeedsLayout()
Original change's description:
TBR=cbiesinger@chromium.org,dgrogan@chromium.org,mstensho@chromium.org
Not skipping CQ checks because original CL landed > 1 day ago.
Bug: 635619, 1027759
Change-Id: I961ca71602f331d2a612d430e9a4ae049e331b1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1948496
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#721112}