commit | 6da50028fa26708eb11a01422d225e5f790693fc | [log] [tgz] |
---|---|---|
author | Emil A Eklund <eae@chromium.org> | Fri Oct 12 00:08:47 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 12 00:08:47 2018 |
tree | 2fd4073f7430e447d739972671333f67ad883f94 | |
parent | 5cd8c123e452c0b76fbbcaf53e82d86ca7d54930 [diff] |
Optimize and inline EnclosingLayoutRect The FloatRect version of EnclosingLayoutRect shows up rather prominently in profiling data for both layout and LayoutNG, particularly in the font metrics and text shaping code. This change reduces the time spent in the method by half by avoiding overhead and allowing it to be inlined. Change-Id: Ica28d6a41edf476619f581c2ff2d9471d13f7c12 Reviewed-on: https://chromium-review.googlesource.com/c/1277597 Reviewed-by: Stefan Zager <szager@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#599027}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .