Bug 1499408 - followup test fix to the followup build fix.
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 17 Oct 2018 17:12:13 +0200
changeset 497444 0589e0ff75c7d7d1eced9c91230492d7cc39c2d6
parent 497443 b684eb7a73c05a4e3f3d6cd4b7de9d0664dbc1ee
child 497445 0f5b5590bf693f33a11789b21db874bcbd9a8389
push id9996
push userarchaeopteryx@coole-files.de
push dateThu, 18 Oct 2018 18:37:15 +0000
treeherdermozilla-beta@8efe26839243 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1499408
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1499408 - followup test fix to the followup build fix.
servo/components/style/properties/longhands/border.mako.rs
servo/ports/geckolib/tests/size_of.rs
--- a/servo/components/style/properties/longhands/border.mako.rs
+++ b/servo/components/style/properties/longhands/border.mako.rs
@@ -106,17 +106,16 @@
     "border-image-source",
     "ImageLayer",
     initial_value="Either::First(None_)",
     initial_specified_value="Either::First(None_)",
     spec="https://drafts.csswg.org/css-backgrounds/#the-background-image",
     vector=False,
     animation_value_type="discrete",
     flags="APPLIES_TO_FIRST_LETTER",
-    boxed=True,
 )}
 
 ${helpers.predefined_type(
     "border-image-outset",
     "LengthOrNumberRect",
     parse_method="parse_non_negative",
     initial_value="computed::LengthOrNumberRect::all(computed::LengthOrNumber::zero())",
     initial_specified_value="specified::LengthOrNumberRect::all(specified::LengthOrNumber::zero())",
--- a/servo/ports/geckolib/tests/size_of.rs
+++ b/servo/ports/geckolib/tests/size_of.rs
@@ -37,15 +37,15 @@ size_of_test!(test_size_of_property_decl
 
 size_of_test!(test_size_of_application_declaration_block, ApplicableDeclarationBlock, 16);
 size_of_test!(test_size_of_rule_node, RuleNode, 72);
 
 // This is huge, but we allocate it on the stack and then never move it,
 // we only pass `&mut SourcePropertyDeclaration` references around.
 size_of_test!(test_size_of_parsed_declaration, style::properties::SourcePropertyDeclaration, 608);
 
-size_of_test!(test_size_of_computed_image, computed::image::Image, 32);
-size_of_test!(test_size_of_specified_image, specified::image::Image, 32);
+size_of_test!(test_size_of_computed_image, computed::image::Image, 24);
+size_of_test!(test_size_of_specified_image, specified::image::Image, 24);
 
 // 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, 32);
-size_of_test!(test_size_of_specified_image_layer, specified::image::ImageLayer, 32);
+size_of_test!(test_size_of_computed_image_layer, computed::image::ImageLayer, 24);
+size_of_test!(test_size_of_specified_image_layer, specified::image::ImageLayer, 24);