mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Remove intrinsic Root::r()
This commit is contained in:
parent
51bcf516c8
commit
0b3ab875f4
55 changed files with 275 additions and 310 deletions
|
@ -72,7 +72,7 @@ impl HTMLStyleElement {
|
|||
win.layout_chan().send(Msg::AddStylesheet(sheet.clone())).unwrap();
|
||||
*self.stylesheet.borrow_mut() = Some(sheet);
|
||||
let doc = document_from_node(self);
|
||||
doc.r().invalidate_stylesheets();
|
||||
doc.invalidate_stylesheets();
|
||||
}
|
||||
|
||||
pub fn get_stylesheet(&self) -> Option<Arc<Stylesheet>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue