aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlmediaelement.rs
diff options
context:
space:
mode:
authorMichael Wu <mwu@mozilla.com>2015-07-10 21:27:41 -0400
committerAnthony Ramine <n.oxyde@gmail.com>2015-09-12 01:09:46 +0200
commit941f7dc04bc02ad196e86c5167ea292477fb7284 (patch)
treebf867d7a25d243a9ff38d346c219a2aac38eac5e /components/script/dom/htmlmediaelement.rs
parent8d7ba12f28a873880c1f51b122d4fc185294c849 (diff)
downloadservo-941f7dc04bc02ad196e86c5167ea292477fb7284.tar.gz
servo-941f7dc04bc02ad196e86c5167ea292477fb7284.zip
Move EventTargetTypeId/NodeTypeId to DOMClass
Diffstat (limited to 'components/script/dom/htmlmediaelement.rs')
-rw-r--r--components/script/dom/htmlmediaelement.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/dom/htmlmediaelement.rs b/components/script/dom/htmlmediaelement.rs
index 4b40e13e129..7a2b798c728 100644
--- a/components/script/dom/htmlmediaelement.rs
+++ b/components/script/dom/htmlmediaelement.rs
@@ -41,8 +41,10 @@ impl HTMLMediaElement {
}
}
-#[derive(JSTraceable, Copy, Clone, Debug, HeapSizeOf)]
+#[derive(Copy, Clone, Debug)]
pub enum HTMLMediaElementTypeId {
+ HTMLMediaElement = -1,
+
HTMLAudioElement = 0,
HTMLVideoElement = 1,
}