Index: Source/modules/mediastream/MediaStream.idl |
diff --git a/Source/modules/mediastream/MediaStream.idl b/Source/modules/mediastream/MediaStream.idl |
index bd7e78fc2564d98d8508c0c8c661ebec3b91e232..52704729661c5ce51d5d5552235273ef1b8afe1e 100644 |
--- a/Source/modules/mediastream/MediaStream.idl |
+++ b/Source/modules/mediastream/MediaStream.idl |
@@ -24,12 +24,11 @@ |
[ |
NoInterfaceObject, |
- EventTarget, |
Constructor, |
Constructor(MediaStream stream), |
Constructor(MediaStreamTrack[] tracks), |
ConstructorCallWith=ScriptExecutionContext |
-] interface MediaStream { |
+] interface MediaStream : EventTarget { |
// DEPRECATED |
readonly attribute DOMString label; |
@@ -48,14 +47,5 @@ |
attribute EventListener onended; |
attribute EventListener onaddtrack; |
attribute EventListener onremovetrack; |
- |
- // EventTarget interface |
- void addEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- void removeEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- [RaisesException] boolean dispatchEvent(Event event); |
}; |