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