diff options
Diffstat (limited to 'components/script/dom/htmltablesectionelement.rs')
-rw-r--r-- | components/script/dom/htmltablesectionelement.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/htmltablesectionelement.rs b/components/script/dom/htmltablesectionelement.rs index 3279e03ff0c..6d5648b7c9d 100644 --- a/components/script/dom/htmltablesectionelement.rs +++ b/components/script/dom/htmltablesectionelement.rs @@ -25,17 +25,17 @@ pub struct HTMLTableSectionElement { } impl HTMLTableSectionElement { - fn new_inherited(localName: Atom, prefix: Option<DOMString>, document: &Document) + fn new_inherited(local_name: Atom, prefix: Option<DOMString>, document: &Document) -> HTMLTableSectionElement { HTMLTableSectionElement { - htmlelement: HTMLElement::new_inherited(localName, prefix, document), + htmlelement: HTMLElement::new_inherited(local_name, prefix, document), } } #[allow(unrooted_must_root)] - pub fn new(localName: Atom, prefix: Option<DOMString>, document: &Document) + pub fn new(local_name: Atom, prefix: Option<DOMString>, document: &Document) -> Root<HTMLTableSectionElement> { - Node::reflect_node(box HTMLTableSectionElement::new_inherited(localName, prefix, document), + Node::reflect_node(box HTMLTableSectionElement::new_inherited(local_name, prefix, document), document, HTMLTableSectionElementBinding::Wrap) } |