commit | 952c7ce4bbb944ed2d39ec167ee428a99fcaf924 | [log] [tgz] |
---|---|---|
author | Andrey Kraynov <[email protected]> | Tue Jun 27 10:04:49 2017 |
committer | Commit Bot <[email protected]> | Thu Jun 29 01:00:13 2017 |
tree | 2214f19858f5948291ff454e71576c932abb3eb7 | |
parent | d62a80a15818c925bdbab04b893a70de864ee7d1 [diff] |
Don't create Range object if possible. Range object was used inside getBaselinePoint() function only to calculate bounding box for the given range. It is possible to do it directly via ComputeTextRect() function. No change in behavior, no new tests. Bug: 388681 Change-Id: I5cf751308a14961c24c8d79ede447c4012cdf4c1 Reviewed-on: https://chromium-review.googlesource.com/549459 Commit-Queue: Yoshifumi Inoue <[email protected]> Reviewed-by: Yoshifumi Inoue <[email protected]> Cr-Commit-Position: refs/heads/master@{#483237}