aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlparagraphelement.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-05-08 23:40:15 +0200
committerJack Moffitt <jack@metajack.im>2014-05-22 16:36:40 -0600
commiteaedeb07cb0c4fdda37f35057588e4a769fbe758 (patch)
treecdeb134482f06818f7d6dbad8e008882fcc336a5 /src/components/script/dom/htmlparagraphelement.rs
parent3644d0272c89336954358eb5005f884a9c89e8bc (diff)
downloadservo-eaedeb07cb0c4fdda37f35057588e4a769fbe758.tar.gz
servo-eaedeb07cb0c4fdda37f35057588e4a769fbe758.zip
Update Rust.
Diffstat (limited to 'src/components/script/dom/htmlparagraphelement.rs')
-rw-r--r--src/components/script/dom/htmlparagraphelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/htmlparagraphelement.rs b/src/components/script/dom/htmlparagraphelement.rs
index c434f9b6fe9..f013e888bc1 100644
--- a/src/components/script/dom/htmlparagraphelement.rs
+++ b/src/components/script/dom/htmlparagraphelement.rs
@@ -33,7 +33,7 @@ impl HTMLParagraphElement {
pub fn new(localName: DOMString, document: &JSRef<Document>) -> Temporary<HTMLParagraphElement> {
let element = HTMLParagraphElement::new_inherited(localName, document);
- Node::reflect_node(~element, document, HTMLParagraphElementBinding::Wrap)
+ Node::reflect_node(box element, document, HTMLParagraphElementBinding::Wrap)
}
}