DescriptionIntroduce IntrinsicSizingInfo
Prepare for passing more information along, specifically whether
intrinsic sizes are specified, when computing intrinsic sizing
information. Do this by introducing a struct carrying the relevant
information. No functional change expected.
Factor out a part of computeAspectRatioInformationForLayoutBox (now
named computeIntrinsicSizingInfoForLayoutBox) and put in a separate
function constrainIntrinsicSizeToMinMax. In the process remove a FIXME
about moving code back to some undefined previous state that's
confusing now that the code has moved around even more.
BUG=585467
Committed: https://crrev.com/2bb97b3a880a9ab5bd0be0ed71ab4e3b21d6aede
Cr-Commit-Position: refs/heads/master@{#374635}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Make passed reference const #
Dependent Patchsets: Messages
Total messages: 18 (10 generated)
|