mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove intrinsic Root::r()
This commit is contained in:
parent
51bcf516c8
commit
0b3ab875f4
55 changed files with 275 additions and 310 deletions
|
@ -41,7 +41,7 @@ impl DocumentFragment {
|
|||
pub fn Constructor(global: &GlobalScope) -> Fallible<Root<DocumentFragment>> {
|
||||
let document = global.as_window().Document();
|
||||
|
||||
Ok(DocumentFragment::new(document.r()))
|
||||
Ok(DocumentFragment::new(&document))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue