commit | 609892ad01678ab57fd741e9ebd0e6a66733fb04 | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Wed Jan 16 01:14:58 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 16 01:14:58 2019 |
tree | a8d7e8b346532e1f4a705f13a72aa2b7034c0272 | |
parent | a625b045dd4a13d26b6c10374f53a83e310c7e04 [diff] |
Avoid copying Lengths (in layout sans NG) 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: Idd1633b4198a8af62c46c27c36751e7961eb356f Reviewed-on: https://chromium-review.googlesource.com/c/1411693 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#622959}
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 .