diff options
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rw-r--r-- | components/script/dom/htmlformelement.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs index 997ed47ca5c..d0647839a47 100644 --- a/components/script/dom/htmlformelement.rs +++ b/components/script/dom/htmlformelement.rs @@ -26,15 +26,15 @@ impl HTMLFormElementDerived for EventTarget { } impl HTMLFormElement { - fn new_inherited(localName: DOMString, document: JSRef<Document>) -> HTMLFormElement { + fn new_inherited(localName: DOMString, prefix: Option<DOMString>, document: JSRef<Document>) -> HTMLFormElement { HTMLFormElement { - htmlelement: HTMLElement::new_inherited(HTMLFormElementTypeId, localName, document) + htmlelement: HTMLElement::new_inherited(HTMLFormElementTypeId, localName, prefix, document) } } #[allow(unrooted_must_root)] - pub fn new(localName: DOMString, document: JSRef<Document>) -> Temporary<HTMLFormElement> { - let element = HTMLFormElement::new_inherited(localName, document); + pub fn new(localName: DOMString, prefix: Option<DOMString>, document: JSRef<Document>) -> Temporary<HTMLFormElement> { + let element = HTMLFormElement::new_inherited(localName, prefix, document); Node::reflect_node(box element, document, HTMLFormElementBinding::Wrap) } } |