-
Fredrik Söderquist authored
Make said method compute and return a FloatRect (which is then converted to a LayoutRect in SVGRootInlineBox::LayoutInlineBoxes), as well as using a float for the baseline. This should make for more compact, hopefully faster, code (due to less FloatRect -> LayoutRect and LayoutUnit -> float transitions.) Using a float for baseline will also yield a small improvement in accuracy, and is consistent with similar calculations. Bug: 757436 Change-Id: I8295a2d44f20476f1e234261f8a05fb175484d86 Reviewed-on: https://chromium-review.googlesource.com/708994 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by: Stephen Chenney <schenney@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#508372}
6cd49599