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:
Anthony Ramine
2016-10-11 17:00:55 -05:00
parent de5f94eda0
commit 1682fdb232
56 changed files with 304 additions and 357 deletions

View File

@@ -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))
}
}