Index: third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.cpp |
diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.cpp b/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.cpp |
index 488257ca1875449dc02abf49e131a07faa6ff1d4..2b6400a4785c33afdfdec6f47df047d008e82ebf 100644 |
--- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.cpp |
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.cpp |
@@ -5,21 +5,21 @@ |
#include "modules/compositorworker/AnimationWorklet.h" |
#include "bindings/core/v8/V8Binding.h" |
-#include "core/dom/ExecutionContext.h" |
+#include "core/frame/LocalFrame.h" |
#include "modules/worklet/ThreadedWorkletGlobalScopeProxy.h" |
namespace blink { |
// static |
-AnimationWorklet* AnimationWorklet::create(ExecutionContext* executionContext) |
+AnimationWorklet* AnimationWorklet::create(LocalFrame* frame) |
{ |
- AnimationWorklet* worklet = new AnimationWorklet(executionContext); |
+ AnimationWorklet* worklet = new AnimationWorklet(frame); |
worklet->suspendIfNeeded(); |
return worklet; |
} |
-AnimationWorklet::AnimationWorklet(ExecutionContext* executionContext) |
- : Worklet(executionContext) |
+AnimationWorklet::AnimationWorklet(LocalFrame* frame) |
+ : Worklet(frame) |
, m_workletGlobalScopeProxy(new ThreadedWorkletGlobalScopeProxy()) |
{ |
} |