aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlmediaelement.rs
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2013-09-19 18:05:48 -0400
committerLuis de Bethencourt <luis@debethencourt.com>2013-09-19 19:39:38 -0400
commit2dbd065d91b19924ada276249ae9997bf4496e31 (patch)
tree36bbf5c90b462c2dbd63419935c7df28f470df2a /src/components/script/dom/htmlmediaelement.rs
parent0ca4c19b57a6c444aecb4e8fbdd42cd7ff575c1c (diff)
downloadservo-2dbd065d91b19924ada276249ae9997bf4496e31.tar.gz
servo-2dbd065d91b19924ada276249ae9997bf4496e31.zip
Rename the element field of the DOM Node hierarchy
Renamed htmlelement, and element Fixes #924
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)
}
}
}