mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Remove intrinsic Root::r()
This commit is contained in:
parent
51bcf516c8
commit
0b3ab875f4
55 changed files with 275 additions and 310 deletions
|
@ -364,10 +364,7 @@ impl FetchResponseListener for StylesheetContext {
|
|||
sheet.set_media(Some(media));
|
||||
let sheet = Arc::new(sheet);
|
||||
|
||||
let elem = elem.r();
|
||||
let document = document.r();
|
||||
|
||||
let win = window_from_node(elem);
|
||||
let win = window_from_node(&*elem);
|
||||
win.layout_chan().send(Msg::AddStylesheet(sheet.clone())).unwrap();
|
||||
|
||||
*elem.stylesheet.borrow_mut() = Some(sheet);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue