| Index: third_party/WebKit/Source/modules/worklet/WindowWorklet.idl
|
| diff --git a/third_party/WebKit/Source/modules/worklet/Worklet.idl b/third_party/WebKit/Source/modules/worklet/WindowWorklet.idl
|
| similarity index 58%
|
| copy from third_party/WebKit/Source/modules/worklet/Worklet.idl
|
| copy to third_party/WebKit/Source/modules/worklet/WindowWorklet.idl
|
| index e4ad4f16744cc588b391d5134eacc3ed4dfa0d4c..8b98be2900e50133525963e47bfd526f5438060a 100644
|
| --- a/third_party/WebKit/Source/modules/worklet/Worklet.idl
|
| +++ b/third_party/WebKit/Source/modules/worklet/WindowWorklet.idl
|
| @@ -2,10 +2,9 @@
|
| // 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
|
| -
|
| [
|
| - GarbageCollected,
|
| + ImplementedAs=DOMWindowWorklet,
|
| RuntimeEnabled=Worklet,
|
| -] interface Worklet {
|
| +] partial interface Window {
|
| + [CallWith=ExecutionContext] readonly attribute Worklet renderWorklet;
|
| };
|
|
|