| Index: third_party/WebKit/Source/modules/worklet/Worklet.cpp
|
| diff --git a/third_party/WebKit/Source/modules/worklet/Worklet.cpp b/third_party/WebKit/Source/modules/worklet/Worklet.cpp
|
| index 5c04f405ee9fd07f30fff827f2eb20bc3e8a9958..0c753df28fa2475070378fe46e9b5df1b903517a 100644
|
| --- a/third_party/WebKit/Source/modules/worklet/Worklet.cpp
|
| +++ b/third_party/WebKit/Source/modules/worklet/Worklet.cpp
|
| @@ -79,7 +79,7 @@ void Worklet::onFinished(WorkerScriptLoader* scriptLoader, ScriptPromiseResolver
|
|
|
| void Worklet::stop()
|
| {
|
| - workletGlobalScope()->scriptController()->willScheduleExecutionTermination();
|
| + workletGlobalScope()->dispose();
|
|
|
| for (auto scriptLoader : m_scriptLoaders) {
|
| scriptLoader->cancel();
|
|
|