aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlparamelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmlparamelement.rs')
-rw-r--r--src/components/script/dom/htmlparamelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/htmlparamelement.rs b/src/components/script/dom/htmlparamelement.rs
index 38f48a22c5c..b97eb017872 100644
--- a/src/components/script/dom/htmlparamelement.rs
+++ b/src/components/script/dom/htmlparamelement.rs
@@ -16,7 +16,7 @@ pub struct HTMLParamElement {
impl HTMLParamElement {
pub fn new_inherited(localName: ~str, document: AbstractDocument) -> HTMLParamElement {
HTMLParamElement {
- htmlelement: HTMLElement::new(HTMLParamElementTypeId, localName, document)
+ htmlelement: HTMLElement::new_inherited(HTMLParamElementTypeId, localName, document)
}
}