aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllegendelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmllegendelement.rs')
-rw-r--r--components/script/dom/htmllegendelement.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/htmllegendelement.rs b/components/script/dom/htmllegendelement.rs
index 91bc29b4099..e5c5e29aae2 100644
--- a/components/script/dom/htmllegendelement.rs
+++ b/components/script/dom/htmllegendelement.rs
@@ -23,19 +23,19 @@ pub struct HTMLLegendElement {
}
impl HTMLLegendElement {
- fn new_inherited(localName: Atom,
+ fn new_inherited(local_name: Atom,
prefix: Option<DOMString>,
document: &Document)
-> HTMLLegendElement {
- HTMLLegendElement { htmlelement: HTMLElement::new_inherited(localName, prefix, document) }
+ HTMLLegendElement { htmlelement: HTMLElement::new_inherited(local_name, prefix, document) }
}
#[allow(unrooted_must_root)]
- pub fn new(localName: Atom,
+ pub fn new(local_name: Atom,
prefix: Option<DOMString>,
document: &Document)
-> Root<HTMLLegendElement> {
- Node::reflect_node(box HTMLLegendElement::new_inherited(localName, prefix, document),
+ Node::reflect_node(box HTMLLegendElement::new_inherited(local_name, prefix, document),
document,
HTMLLegendElementBinding::Wrap)
}