mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Use upstream lazy_static!() macro through Cargo
... instead of having our own copy. https://github.com/Kimundi/lazy-static.rs
This commit is contained in:
parent
af96e8e409
commit
a40b94d7f9
6 changed files with 7 additions and 66 deletions
|
@ -1822,7 +1822,7 @@ fn get_writing_mode(inheritedbox_style: &style_structs::InheritedBox) -> Writing
|
|||
|
||||
|
||||
/// The initial values for all style structs as defined by the specification.
|
||||
lazy_init! {
|
||||
lazy_static! {
|
||||
static ref INITIAL_VALUES: ComputedValues = ComputedValues {
|
||||
% for style_struct in STYLE_STRUCTS:
|
||||
${style_struct.ident}: Arc::new(style_structs::${style_struct.name} {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue