Skip to content
Permalink
Browse files

auto merge of #1058 : Ms2ger/servo/get_cx-followup, r=jdm

These changes landed in parallel.
  • Loading branch information...
bors-servo
bors-servo committed Oct 14, 2013
2 parents ef524ae + b344324 commit a3d3337aedea8498e5bea10c483f6869d52a63d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/components/script/dom/documentfragment.rs
@@ -21,7 +21,7 @@ impl DocumentFragment {
}

pub fn Constructor(owner: @mut Window) -> Fallible<AbstractNode<ScriptView>> {
let cx = owner.page.js_info.get_ref().js_compartment.cx.ptr;
let cx = owner.get_cx();
let fragment = @DocumentFragment::new(owner.Document());
Ok(unsafe { Node::as_abstract_node(cx, fragment) })
}

0 comments on commit a3d3337

Please sign in to comment.
You can’t perform that action at this time.