mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Detach shadow clean up
This commit is contained in:
parent
f8ae394cad
commit
1f3c879a85
5 changed files with 76 additions and 63 deletions
|
@ -189,7 +189,9 @@ impl<'lr> TShadowRoot for ServoShadowRoot<'lr> {
|
|||
}
|
||||
|
||||
fn host(&self) -> ServoLayoutElement<'lr> {
|
||||
ServoLayoutElement::from_layout_js(unsafe { self.shadow_root.get_host_for_layout() })
|
||||
ServoLayoutElement::from_layout_js(unsafe {
|
||||
self.shadow_root.get_host_for_layout().unwrap()
|
||||
})
|
||||
}
|
||||
|
||||
fn style_data<'a>(&self) -> Option<&'a CascadeData>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue