diff options
Diffstat (limited to 'src/components/script/dom/htmlmapelement.rs')
-rw-r--r-- | src/components/script/dom/htmlmapelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/htmlmapelement.rs b/src/components/script/dom/htmlmapelement.rs index b61414f7363..b489647908e 100644 --- a/src/components/script/dom/htmlmapelement.rs +++ b/src/components/script/dom/htmlmapelement.rs @@ -34,7 +34,7 @@ impl HTMLMapElement { pub fn new(localName: DOMString, document: &JSRef<Document>) -> Temporary<HTMLMapElement> { let element = HTMLMapElement::new_inherited(localName, document); - Node::reflect_node(~element, document, HTMLMapElementBinding::Wrap) + Node::reflect_node(box element, document, HTMLMapElementBinding::Wrap) } } |