Index: third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.idl |
diff --git a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.idl |
similarity index 61% |
copy from third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl |
copy to third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.idl |
index a708fe9d584602804241d0e8390453ab54af643d..e8a5046de997c82364f3c77c9c4b149cb8b77383 100644 |
--- a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.idl |
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletGlobalScope.idl |
@@ -3,7 +3,8 @@ |
// found in the LICENSE file. |
[ |
+ Exposed=AnimationWorklet, |
+ Global=(Worklet,AnimationWorklet), |
RuntimeEnabled=CompositorWorker, |
-] partial interface Window { |
- readonly attribute Worklet animationWorklet; |
+] interface AnimationWorkletGlobalScope : WorkletGlobalScope { |
}; |