Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1044)

Unified Diff: third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h

Issue 2178223002: Refactor Worklet class to use ScriptResource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed redundant ExecutionContext parameter, changed WorkletScriptLoader to inherit from ResourceO… Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
diff --git a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
index e681aa616b62fc57bef746a8c89eed5ae568fcef..6ea82ece51ab477a54c71459c020d0a2796ff257 100644
--- a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
+++ b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
@@ -13,7 +13,6 @@
namespace blink {
class DOMWindow;
-class ExecutionContext;
class AnimationWorklet;
class Worklet;
@@ -21,8 +20,8 @@ class MODULES_EXPORT WindowAnimationWorklet final : public GarbageCollected<Wind
USING_GARBAGE_COLLECTED_MIXIN(WindowAnimationWorklet);
public:
static WindowAnimationWorklet& from(LocalDOMWindow&);
- static Worklet* animationWorklet(ExecutionContext*, DOMWindow&);
- AnimationWorklet* animationWorklet(ExecutionContext*);
+ static Worklet* animationWorklet(DOMWindow&);
+ AnimationWorklet* animationWorklet();
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698