commit | acda93a831f691266f528f75efc1f2af7cc96aed | [log] [tgz] |
---|---|---|
author | Daniel Bratell <bratell@opera.com> | Fri Feb 15 10:09:00 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 15 10:09:00 2019 |
tree | 57ed91157a4fb50e54acf3fb3ef958539c73a72f | |
parent | ccda1d802594efef77b88a408f595e65a9b34457 [diff] |
Replace Length::SetValue with assignment In an effort to "hide" LengthType constants so that those constants can be moved without much code churn, I noticed that the five different Length::SetValue functions were barely used and offered no substantial improvement over a pure assignment so let's keep the code simple and just use the assignment. Depending on the compiler and the optimizer, it may generate the same code, but Android code size changed by a couple of bytes so probably not. Change-Id: I691dd8e0df965a87edcd964021faa6f264aa01e5 Reviewed-on: https://chromium-review.googlesource.com/c/1472692 Reviewed-by: Emil A Eklund <eae@chromium.org> Commit-Queue: Daniel Bratell <bratell@opera.com> Cr-Commit-Position: refs/heads/master@{#632563}
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 .