diff options
author | Josh Matthews <josh@joshmatthews.net> | 2014-04-17 17:08:00 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2014-05-03 14:18:31 -0400 |
commit | 522d3f167b12fa79401eea5525c7b6133cae0f06 (patch) | |
tree | e6c187b470348455fc53667e1af9fb4acf9b10f1 /src/components/script/dom/processinginstruction.rs | |
parent | bbfed381686aef5703da53a104f9c05c6d3475c5 (diff) | |
download | servo-522d3f167b12fa79401eea5525c7b6133cae0f06.tar.gz servo-522d3f167b12fa79401eea5525c7b6133cae0f06.zip |
s/Unrooted/Temporary/g
Diffstat (limited to 'src/components/script/dom/processinginstruction.rs')
-rw-r--r-- | src/components/script/dom/processinginstruction.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/processinginstruction.rs b/src/components/script/dom/processinginstruction.rs index ee88cb51bf6..9a00333fd93 100644 --- a/src/components/script/dom/processinginstruction.rs +++ b/src/components/script/dom/processinginstruction.rs @@ -4,7 +4,7 @@ use dom::bindings::codegen::BindingDeclarations::ProcessingInstructionBinding; use dom::bindings::codegen::InheritTypes::ProcessingInstructionDerived; -use dom::bindings::js::{JS, JSRef, Unrooted}; +use dom::bindings::js::{JS, JSRef, Temporary}; use dom::characterdata::CharacterData; use dom::document::Document; use dom::eventtarget::{EventTarget, NodeTargetTypeId}; @@ -35,7 +35,7 @@ impl ProcessingInstruction { } } - pub fn new(target: DOMString, data: DOMString, document: &JSRef<Document>) -> Unrooted<ProcessingInstruction> { + pub fn new(target: DOMString, data: DOMString, document: &JSRef<Document>) -> Temporary<ProcessingInstruction> { let node = ProcessingInstruction::new_inherited(target, data, document.unrooted()); Node::reflect_node(~node, document, ProcessingInstructionBinding::Wrap) } |