diff options
author | Michael Booth <michaelboothj@gmail.com> | 2014-11-27 20:44:41 +0000 |
---|---|---|
committer | Michael Booth <michaelboothj@gmail.com> | 2014-11-30 19:47:52 +0000 |
commit | 2cbf5a36710f9ea8310bdf9d90847da3c18fb2f1 (patch) | |
tree | 0bd3db5aa9c9e3b91715c3d067721960d342ef77 /components/script/dom/nodeiterator.rs | |
parent | 9cea3ce2661e68bae5400164b72930e4c5eeae55 (diff) | |
download | servo-2cbf5a36710f9ea8310bdf9d90847da3c18fb2f1.tar.gz servo-2cbf5a36710f9ea8310bdf9d90847da3c18fb2f1.zip |
Updated reflect_dom_object to be passed by value
Diffstat (limited to 'components/script/dom/nodeiterator.rs')
-rw-r--r-- | components/script/dom/nodeiterator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/nodeiterator.rs b/components/script/dom/nodeiterator.rs index e6d2e982d43..7529b5fd190 100644 --- a/components/script/dom/nodeiterator.rs +++ b/components/script/dom/nodeiterator.rs @@ -20,7 +20,7 @@ impl NodeIterator { } } - pub fn new(global: &GlobalRef) -> Temporary<NodeIterator> { + pub fn new(global: GlobalRef) -> Temporary<NodeIterator> { reflect_dom_object(box NodeIterator::new_inherited(), global, NodeIteratorBinding::Wrap) } } |