aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmltablesectionelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmltablesectionelement.rs')
-rw-r--r--src/components/script/dom/htmltablesectionelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/htmltablesectionelement.rs b/src/components/script/dom/htmltablesectionelement.rs
index d5d33b29dfc..972c51ce879 100644
--- a/src/components/script/dom/htmltablesectionelement.rs
+++ b/src/components/script/dom/htmltablesectionelement.rs
@@ -33,7 +33,7 @@ impl HTMLTableSectionElement {
pub fn new(localName: DOMString, document: &JSRef<Document>) -> Temporary<HTMLTableSectionElement> {
let element = HTMLTableSectionElement::new_inherited(localName, document);
- Node::reflect_node(~element, document, HTMLTableSectionElementBinding::Wrap)
+ Node::reflect_node(box element, document, HTMLTableSectionElementBinding::Wrap)
}
}