mirror of
https://github.com/servo/servo.git
synced 2025-09-11 07:28:19 +01:00
style: Add a test for the size of a Dependency.
This commit is contained in:
parent
445b8fb3e8
commit
e3b5a1dcb0
2 changed files with 6 additions and 3 deletions
|
@ -2,8 +2,11 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use style::invalidation::element::invalidation_map::Dependency;
|
||||
use style::properties;
|
||||
|
||||
size_of_test!(test_size_of_dependency, Dependency, 16);
|
||||
|
||||
size_of_test!(test_size_of_property_declaration, properties::PropertyDeclaration, 32);
|
||||
|
||||
// This is huge, but we allocate it on the stack and then never move it,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue