servo: Merge #13647 - Unify all rooting traits under RootedReference (from nox:rootedreference); r=jdm
Source-Repo: https://github.com/servo/servo Source-Revision: cf2a6475cb3d7d98b925e7a235ebf36f6abe883d
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user