mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Clean up LayoutShadowRootHelpers::get_style_data_for_layout
Parameter E is unused and the result should be bound by 'dom.
This commit is contained in:
parent
206157dd74
commit
86296b84ff
3 changed files with 4 additions and 18 deletions
|
@ -184,12 +184,7 @@ impl<'lr> TShadowRoot for ServoShadowRoot<'lr> {
|
|||
where
|
||||
Self: 'a,
|
||||
{
|
||||
Some(unsafe {
|
||||
&self
|
||||
.shadow_root
|
||||
.get_style_data_for_layout::<ServoLayoutElement>()
|
||||
.data
|
||||
})
|
||||
Some(unsafe { &self.shadow_root.get_style_data_for_layout().data })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue