aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlframeelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlframeelement.rs')
-rw-r--r--components/script/dom/htmlframeelement.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/htmlframeelement.rs b/components/script/dom/htmlframeelement.rs
index 536e518eed1..62febac5b7f 100644
--- a/components/script/dom/htmlframeelement.rs
+++ b/components/script/dom/htmlframeelement.rs
@@ -26,15 +26,15 @@ impl HTMLFrameElementDerived for EventTarget {
}
impl HTMLFrameElement {
- fn new_inherited(localName: DOMString, document: JSRef<Document>) -> HTMLFrameElement {
+ fn new_inherited(localName: DOMString, prefix: Option<DOMString>, document: JSRef<Document>) -> HTMLFrameElement {
HTMLFrameElement {
- htmlelement: HTMLElement::new_inherited(HTMLFrameElementTypeId, localName, document)
+ htmlelement: HTMLElement::new_inherited(HTMLFrameElementTypeId, localName, prefix, document)
}
}
#[allow(unrooted_must_root)]
- pub fn new(localName: DOMString, document: JSRef<Document>) -> Temporary<HTMLFrameElement> {
- let element = HTMLFrameElement::new_inherited(localName, document);
+ pub fn new(localName: DOMString, prefix: Option<DOMString>, document: JSRef<Document>) -> Temporary<HTMLFrameElement> {
+ let element = HTMLFrameElement::new_inherited(localName, prefix, document);
Node::reflect_node(box element, document, HTMLFrameElementBinding::Wrap)
}
}