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