Index: third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h |
diff --git a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h |
similarity index 44% |
copy from third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h |
copy to third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h |
index 404ec0330f6ca96d58ad2bf0aa19a5a203c725b9..e681aa616b62fc57bef746a8c89eed5ae568fcef 100644 |
--- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h |
+++ b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef WindowPaintWorklet_h |
-#define WindowPaintWorklet_h |
+#ifndef WindowAnimationWorklet_h |
+#define WindowAnimationWorklet_h |
#include "core/frame/DOMWindowProperty.h" |
#include "modules/ModulesExport.h" |
@@ -14,25 +14,25 @@ namespace blink { |
class DOMWindow; |
class ExecutionContext; |
-class PaintWorklet; |
+class AnimationWorklet; |
class Worklet; |
-class MODULES_EXPORT WindowPaintWorklet final : public GarbageCollected<WindowPaintWorklet>, public Supplement<LocalDOMWindow>, public DOMWindowProperty { |
- USING_GARBAGE_COLLECTED_MIXIN(WindowPaintWorklet); |
+class MODULES_EXPORT WindowAnimationWorklet final : public GarbageCollected<WindowAnimationWorklet>, public Supplement<LocalDOMWindow>, public DOMWindowProperty { |
+ USING_GARBAGE_COLLECTED_MIXIN(WindowAnimationWorklet); |
public: |
- static WindowPaintWorklet& from(LocalDOMWindow&); |
- static Worklet* paintWorklet(ExecutionContext*, DOMWindow&); |
- PaintWorklet* paintWorklet(ExecutionContext*) const; |
+ static WindowAnimationWorklet& from(LocalDOMWindow&); |
+ static Worklet* animationWorklet(ExecutionContext*, DOMWindow&); |
+ AnimationWorklet* animationWorklet(ExecutionContext*); |
DECLARE_TRACE(); |
private: |
- explicit WindowPaintWorklet(LocalDOMWindow&); |
+ explicit WindowAnimationWorklet(LocalDOMWindow&); |
static const char* supplementName(); |
- mutable Member<PaintWorklet> m_paintWorklet; |
+ Member<AnimationWorklet> m_animationWorklet; |
}; |
} // namespace blink |
-#endif // WindowPaintWorklet_h |
+#endif // WindowAnimationWorklet_h |