[LayoutNG] Don't use Optional<> for clearance offset.
The exclusion space already didn't use it, but rather returned a pure LayoutUnit set to LayoutUnit::Min() if there was no clearance to apply. Do this everywhere, instead of using Optional<LayoutUnit> some places. Better have one way of saying "no clearance", than two (Optional<LayoutUnit> not set OR Optional<LayoutUnit> set to LayoutUnit: :Min()). Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I3a858397c28ca83ba96ae4d749f97dfa5e7b0cb3 Reviewed-on: https://chromium-review.googlesource.com/1027810Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#553722}
Showing
Please register or sign in to comment