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