diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-01-17 11:49:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-17 11:49:52 -0800 |
commit | f010fb58fdb4526a76581ba6536f807f2b2a4955 (patch) | |
tree | 53fe1f346684bc84d0ea2338dd16f045fbdb39d6 /tests/wpt/css-tests/css-variables-1_dev/html/reference | |
parent | a73fd01f01945d88a565c4c65f4049d64dc89bf0 (diff) | |
parent | f59557d2f274f14bb26121233bbb3d6b86b10712 (diff) | |
download | servo-f010fb58fdb4526a76581ba6536f807f2b2a4955.tar.gz servo-f010fb58fdb4526a76581ba6536f807f2b2a4955.zip |
Auto merge of #15065 - Manishearth:box-calclop, r=heycam
Use Box<CalcLengthOrPercentage> in specified values to avoid bloating inline sizes
For #15061
CalcLOP is a large struct, and gets used quite often. While #15063 reduces its size a bit,
it will still be much larger than any of the other variants in the `specified::Length*` types,
so it will still bloat sizes, especially for specified values that contain many lengths.
This change boxes it in the length types, so that it just takes one word.
r? @heycam
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15065)
<!-- Reviewable:end -->
Diffstat (limited to 'tests/wpt/css-tests/css-variables-1_dev/html/reference')
0 files changed, 0 insertions, 0 deletions