[LayoutNG] Support floats in single-pass MinMax

This patch enables single-pass MinMax computation for inline
when it has floats. The single-pass was introduced in r648535
(CL:1551000) but floats were not supported.

This code path hits 24 times in Google SRP for example.

We support single-pass computation in all cases with this
change and the tabulation character support in r651519.
Two-pass code is not removed only for DCHECK purpose.

Bug: 636993
Change-Id: I1e4a7b38eacfaf5f8de9ff66d24286dfea7dfbe5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1570987
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#652163}
1 file changed