Index: Source/modules/mediasource/WebKitMediaSource.idl |
diff --git a/Source/modules/mediasource/WebKitMediaSource.idl b/Source/modules/mediasource/WebKitMediaSource.idl |
index 1bc542ccb7d1a7fb7173c466ac936d7ce8aecd70..61eaa1c4f8d667045188b52a3bd55e6ab65982e8 100644 |
--- a/Source/modules/mediasource/WebKitMediaSource.idl |
+++ b/Source/modules/mediasource/WebKitMediaSource.idl |
@@ -32,10 +32,9 @@ |
NoInterfaceObject, |
EnabledAtRuntime=webKitMediaSource, |
ActiveDOMObject, |
- EventTarget, |
Constructor, |
ConstructorCallWith=ScriptExecutionContext |
-] interface WebKitMediaSource { |
+] interface WebKitMediaSource : EventTarget { |
// All the source buffers created by this object. |
readonly attribute WebKitSourceBufferList sourceBuffers; |
@@ -52,14 +51,5 @@ |
[RaisesException] void endOfStream([Default=NullString] optional DOMString error); |
static boolean isTypeSupported (DOMString type); |
- |
- // 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); |
}; |