[LayoutNG] Simplify ng_absolute_utils.cc
ComputeAbsoluteHorizontal & ComputeAbsoluteVertical were almost identical. This added with the many writing mode switches generated a lot of code. This collapses most of the functions within the utils file to work in the logical writing-mode of the candidate. Change-Id: Ic678d5b46858fea402eda9839d1eb580dc30f7d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1681180 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:David Grogan <dgrogan@chromium.org> Reviewed-by:
Aleks Totic <atotic@chromium.org> Cr-Commit-Position: refs/heads/master@{#678511}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment