commit | e52a43fd6a15604f674a016fc6d24054b37409be | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Tue Jan 15 13:18:47 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 15 13:18:47 2019 |
tree | 05745090990d10d224e60adb938e7f88a1e61a3b | |
parent | 8f9c5a2ef512db6b2e07734ebba7ce258625b2f5 [diff] |
[LayoutNG] Avoid copying Lengths Copying/assigning a Length is not just a trivial copy, so when possible, use a const Length& to avoid making a copy (saving some small bit of footprint and hopefully a few CPU cycles too). Change-Id: Ib802f8e26c061e77bc8c0d8487a9dc8a8afe130b Reviewed-on: https://chromium-review.googlesource.com/c/1411921 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#622834}
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 .