summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/DOMURL.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/DOMURL.idl')
-rw-r--r--Source/WebCore/html/DOMURL.idl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebCore/html/DOMURL.idl b/Source/WebCore/html/DOMURL.idl
index ed04c23d5..b36e8f7ce 100644
--- a/Source/WebCore/html/DOMURL.idl
+++ b/Source/WebCore/html/DOMURL.idl
@@ -33,6 +33,9 @@ module html {
JSNoStaticTables,
InterfaceName=URL
] DOMURL {
+#if defined(ENABLE_MEDIA_SOURCE) && ENABLE_MEDIA_SOURCE
+ [CallWith=ScriptExecutionContext,TreatReturnedNullStringAs=Null] static DOMString createObjectURL(in MediaSource? source);
+#endif
#if defined(ENABLE_MEDIA_STREAM) && ENABLE_MEDIA_STREAM
[CallWith=ScriptExecutionContext,TreatReturnedNullStringAs=Null] static DOMString createObjectURL(in MediaStream? stream);
#endif