diff options
author | Oriol Brufau <obrufau@igalia.com> | 2023-05-22 08:30:46 +0200 |
---|---|---|
committer | Oriol Brufau <obrufau@igalia.com> | 2023-05-24 18:32:36 +0200 |
commit | 4f0e0c888c49a908e95406d20258fa7f0fd4d2a2 (patch) | |
tree | 93c3144c8496342e744ab694a84d7d916128acf3 /components/script/dom/element.rs | |
parent | 67f9b97735e8e83789c88ae3c4657f40fdc056c2 (diff) | |
download | servo-4f0e0c888c49a908e95406d20258fa7f0fd4d2a2.tar.gz servo-4f0e0c888c49a908e95406d20258fa7f0fd4d2a2.zip |
Further changes required by Servo
Diffstat (limited to 'components/script/dom/element.rs')
-rw-r--r-- | components/script/dom/element.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs index d8b80df754a..1ceec50281d 100644 --- a/components/script/dom/element.rs +++ b/components/script/dom/element.rs @@ -733,9 +733,9 @@ impl<'dom> LayoutElementHelpers<'dom> for LayoutDom<'dom, Element> { hints.push(from_declaration( shared_lock, PropertyDeclaration::FontFamily(font_family::SpecifiedValue::Values( - computed::font::FontFamilyList::new(Box::new([ - computed::font::SingleFontFamily::from_atom(font_family), - ])), + computed::font::FontFamilyList { + list: Box::new([computed::font::SingleFontFamily::from_atom(font_family)]), + }, )), )); } |