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