aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgl_extensions/ext
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2017-09-21 09:06:20 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2017-09-21 09:06:20 +1000
commiteeed0b17eb21a5825ae4d454ee14fc824ce11eb4 (patch)
tree2f11927b574e29f1a96f62c4d40d63eaecd2be5c /components/script/dom/webgl_extensions/ext
parent6a791cd7f26b42a6688099bea203c21fb3c9cc12 (diff)
downloadservo-eeed0b17eb21a5825ae4d454ee14fc824ce11eb4.tar.gz
servo-eeed0b17eb21a5825ae4d454ee14fc824ce11eb4.zip
Fix MallocSizeOf for TypedSize2D.
TypedSize2D's MallocSizeOf impl has two problems. - It measures `width` twice, and `height` not at all. - It erroneously asserts that `width` and `height` are scalars. This seems reasonable at first blush, but Stylo uses `BorderRadius<LengthAndPercentage>` which contains a `TypedSize2D<LengthAndPercentage, UnknownUnit>`, and `LengthAndPercentage` is non-scalar. This patch fixes both of these problems, and also removes a low-value `use` statement.
Diffstat (limited to 'components/script/dom/webgl_extensions/ext')
0 files changed, 0 insertions, 0 deletions