| Index: third_party/WebKit/Source/modules/csspaint/CSSPaintWorklet.idl
|
| diff --git a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.idl b/third_party/WebKit/Source/modules/csspaint/CSSPaintWorklet.idl
|
| similarity index 53%
|
| rename from third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.idl
|
| rename to third_party/WebKit/Source/modules/csspaint/CSSPaintWorklet.idl
|
| index 0e774ba93ad3e1c58543b915a9f7a154bf16a9d9..6e5d0a350a9cb944f218c481b15c46aa84b97a96 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.idl
|
| +++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintWorklet.idl
|
| @@ -2,8 +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/css-paint-api-1/#dom-css-paintworklet
|
| +
|
| [
|
| RuntimeEnabled=CSSPaintAPI,
|
| -] partial interface Window {
|
| - readonly attribute Worklet paintWorklet;
|
| +] partial interface CSS {
|
| + [CallWith=ScriptState] static readonly attribute Worklet paintWorklet;
|
| };
|
|
|