| Index: third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp
|
| diff --git a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp
|
| index dc1c5bbc005889bc7e1403c506d006db32846937..975c29ea9e50033fe1b9cbf55ad745be753a62c4 100644
|
| --- a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp
|
| +++ b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp
|
| @@ -32,15 +32,15 @@ WindowAnimationWorklet& WindowAnimationWorklet::from(LocalDOMWindow& window)
|
| }
|
|
|
| // static
|
| -Worklet* WindowAnimationWorklet::animationWorklet(ExecutionContext* executionContext, DOMWindow& window)
|
| +Worklet* WindowAnimationWorklet::animationWorklet(DOMWindow& window)
|
| {
|
| - return from(toLocalDOMWindow(window)).animationWorklet(executionContext);
|
| + return from(toLocalDOMWindow(window)).animationWorklet();
|
| }
|
|
|
| -AnimationWorklet* WindowAnimationWorklet::animationWorklet(ExecutionContext* executionContext)
|
| +AnimationWorklet* WindowAnimationWorklet::animationWorklet()
|
| {
|
| if (!m_animationWorklet)
|
| - m_animationWorklet = AnimationWorklet::create(executionContext);
|
| + m_animationWorklet = AnimationWorklet::create(frame());
|
| return m_animationWorklet.get();
|
| }
|
|
|
|
|