[css-flexbox] Return booleans for the ForPercentageResolution functions
Not all callers of ChildLogicalHeightForPercentageResolution need the actual height, and all codepaths either return -1 or OverrideContentLogicalHeight(). To simplify all that, just return a boolean and have the caller call OverrideContentLogicalHeight if needed. Also renames the function as appropriate. R=eae@chromium.org,dgrogan@chromium.org Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I7da546757607a94a56f835c23717284681ff1cae Reviewed-on: https://chromium-review.googlesource.com/1050474 Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Reviewed-by:
David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/master@{#557009}
Showing
Please register or sign in to comment