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