| Index: third_party/WebKit/Source/modules/mediasource/VideoTrackSourceBuffer.idl
|
| diff --git a/third_party/WebKit/Source/modules/worklet/Worklet.idl b/third_party/WebKit/Source/modules/mediasource/VideoTrackSourceBuffer.idl
|
| similarity index 50%
|
| copy from third_party/WebKit/Source/modules/worklet/Worklet.idl
|
| copy to third_party/WebKit/Source/modules/mediasource/VideoTrackSourceBuffer.idl
|
| index 0744c691c0dd98f411149d5f620b9f71a07f81af..f4e0ca1c0080ac49ba96a3b033ce714961ed4295 100644
|
| --- a/third_party/WebKit/Source/modules/worklet/Worklet.idl
|
| +++ b/third_party/WebKit/Source/modules/mediasource/VideoTrackSourceBuffer.idl
|
| @@ -2,12 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// https://drafts.css-houdini.org/worklets/#worklet
|
| -
|
| +// https://w3c.github.io/media-source/#video-track-extensions
|
| [
|
| - DependentLifetime,
|
| GarbageCollected,
|
| - RuntimeEnabled=Worklet,
|
| -] interface Worklet {
|
| - [CallWith=ScriptState] Promise<void> import(DOMString url);
|
| + RuntimeEnabled=AudioVideoTracks
|
| +] partial interface VideoTrack {
|
| + readonly attribute SourceBuffer? sourceBuffer;
|
| };
|
|
|