servo: Merge #4566 - Fixes #4164 Make Constructor and new functions take GlobalRef by value (from mattnenterprise:globalref-by-value); r=Ms2ger

Source-Repo: https://github.com/servo/servo
Source-Revision: 7800d98728bfa1375ad8b6a2dac7f2f35603b6d1
This commit is contained in:
Matt McCoy
2015-01-08 13:12:55 -07:00
parent a302f866ea
commit 4ee5b0a4cb
25 changed files with 64 additions and 64 deletions

View File

@@ -41,7 +41,7 @@ impl DocumentFragment {
document, DocumentFragmentBinding::Wrap)
}
pub fn Constructor(global: &GlobalRef) -> Fallible<Temporary<DocumentFragment>> {
pub fn Constructor(global: GlobalRef) -> Fallible<Temporary<DocumentFragment>> {
let document = global.as_window().Document();
let document = document.root();