diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-09-11 23:55:20 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-09-13 19:46:28 +0200 |
commit | c25085f68a86e2885d77146add097f9f796c96ac (patch) | |
tree | 6e5f7040cd7b4ba5cfb421049485782f44b22740 /components/script/dom/htmlmediaelement.rs | |
parent | 941f7dc04bc02ad196e86c5167ea292477fb7284 (diff) | |
download | servo-c25085f68a86e2885d77146add097f9f796c96ac.tar.gz servo-c25085f68a86e2885d77146add097f9f796c96ac.zip |
Introduce [Abstract] to mark non-leaf interfaces
Some interfaces like Node, CharacterData and HTMLTableCellElement are never
instantiated directly, only their descendant interfaces are. Those are marked
with [Abstract] to set their type_id to None instead of having dummy values
in the TypeId enums.
Diffstat (limited to 'components/script/dom/htmlmediaelement.rs')
-rw-r--r-- | components/script/dom/htmlmediaelement.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/htmlmediaelement.rs b/components/script/dom/htmlmediaelement.rs index 7a2b798c728..8630cf5a745 100644 --- a/components/script/dom/htmlmediaelement.rs +++ b/components/script/dom/htmlmediaelement.rs @@ -43,8 +43,6 @@ impl HTMLMediaElement { #[derive(Copy, Clone, Debug)] pub enum HTMLMediaElementTypeId { - HTMLMediaElement = -1, - HTMLAudioElement = 0, HTMLVideoElement = 1, } |