aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script_layout_interface/lib.rs')
-rw-r--r--components/script_layout_interface/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs
index e3d791b7774..3e0a258aa7d 100644
--- a/components/script_layout_interface/lib.rs
+++ b/components/script_layout_interface/lib.rs
@@ -65,7 +65,7 @@ pub struct StyleData {
impl StyleData {
pub fn new() -> Self {
Self {
- element_data: AtomicRefCell::new(ElementData::new(None)),
+ element_data: AtomicRefCell::new(ElementData::default()),
parallel: DomParallelInfo::new(),
}
}