aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllabelelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmllabelelement.rs')
-rw-r--r--components/script/dom/htmllabelelement.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/htmllabelelement.rs b/components/script/dom/htmllabelelement.rs
index f71e243c168..39869a50f49 100644
--- a/components/script/dom/htmllabelelement.rs
+++ b/components/script/dom/htmllabelelement.rs
@@ -25,20 +25,20 @@ pub struct HTMLLabelElement {
}
impl HTMLLabelElement {
- fn new_inherited(localName: Atom,
+ fn new_inherited(local_name: Atom,
prefix: Option<DOMString>,
document: &Document) -> HTMLLabelElement {
HTMLLabelElement {
htmlelement:
- HTMLElement::new_inherited(localName, prefix, document)
+ 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<HTMLLabelElement> {
- Node::reflect_node(box HTMLLabelElement::new_inherited(localName, prefix, document),
+ Node::reflect_node(box HTMLLabelElement::new_inherited(local_name, prefix, document),
document,
HTMLLabelElementBinding::Wrap)
}