Skip to content

Commit

Permalink
Update expected stylo sizes for rust-lang/rust#45225.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Nov 19, 2017
1 parent 60dca9c commit 6031de9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions components/style/properties/longhand/inherited_svg.mako.rs
Expand Up @@ -66,7 +66,6 @@ ${helpers.predefined_type(
"stroke-width", "SVGWidth",
"::values::computed::NonNegativeLength::new(1.).into()",
products="gecko",
boxed="True",
animation_value_type="::values::computed::SVGWidth",
spec="https://www.w3.org/TR/SVG2/painting.html#StrokeWidth")}

Expand Down Expand Up @@ -101,7 +100,6 @@ ${helpers.predefined_type(
"stroke-dashoffset", "SVGLength",
"Au(0).into()",
products="gecko",
boxed="True",
animation_value_type="ComputedValue",
spec="https://www.w3.org/TR/SVG2/painting.html#StrokeDashing")}

Expand Down
1 change: 0 additions & 1 deletion components/style/properties/longhand/pointing.mako.rs
Expand Up @@ -177,7 +177,6 @@ ${helpers.predefined_type(
"Either::Second(Auto)",
spec="https://drafts.csswg.org/css-ui/#caret-color",
animation_value_type="Either<AnimatedColor, Auto>",
boxed=True,
ignored_when_colors_disabled=True,
products="gecko",
)}
4 changes: 2 additions & 2 deletions tests/unit/stylo/size_of.rs
Expand Up @@ -57,5 +57,5 @@ size_of_test!(test_size_of_specified_image, specified::image::Image, 40);

// FIXME(bz): These can shrink if we move the None_ value inside the
// enum instead of paying an extra word for the Either discriminant.
size_of_test!(test_size_of_computed_image_layer, computed::image::ImageLayer, 48);
size_of_test!(test_size_of_specified_image_layer, specified::image::ImageLayer, 48);
size_of_test!(test_size_of_computed_image_layer, computed::image::ImageLayer, 40);
size_of_test!(test_size_of_specified_image_layer, specified::image::ImageLayer, 40);

0 comments on commit 6031de9

Please sign in to comment.