Add more functionality to MinMaxSize.
It can now constrain the min/max sizes to a value, and also adjust them to be at least as large as some value. Also added an assignment operator for LayoutUnit. There are cases where we want to set min and max to the same value. Updated ComputeMinAndMaxContentContribution() implementation to use this new functionality. Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I251c523213539acc9e508efebf701ed8f64e4265 Reviewed-on: https://chromium-review.googlesource.com/1236000Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:
Aleks Totic <atotic@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#592892}
Showing
Please register or sign in to comment