aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlmediaelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmlmediaelement.rs')
-rw-r--r--src/components/script/dom/htmlmediaelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmlmediaelement.rs b/src/components/script/dom/htmlmediaelement.rs
index 4a69503c279..b7317367dc9 100644
--- a/src/components/script/dom/htmlmediaelement.rs
+++ b/src/components/script/dom/htmlmediaelement.rs
@@ -7,13 +7,13 @@ use dom::element::ElementTypeId;
use dom::htmlelement::HTMLElement;
pub struct HTMLMediaElement {
- parent: HTMLElement,
+ htmlelement: HTMLElement,
}
impl HTMLMediaElement {
pub fn new(type_id: ElementTypeId, tag_name: ~str) -> HTMLMediaElement {
HTMLMediaElement {
- parent: HTMLElement::new(type_id, tag_name)
+ htmlelement: HTMLElement::new(type_id, tag_name)
}
}
}