| 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 c7d910ac73277c1ce308e285cf9e03dcc2721388..950b1b63e865515f719a634d8eb0470b6ebc2478 100644
 | 
| --- a/third_party/WebKit/Source/modules/worklet/Worklet.cpp
 | 
| +++ b/third_party/WebKit/Source/modules/worklet/Worklet.cpp
 | 
| @@ -5,13 +5,12 @@
 | 
|  #include "modules/worklet/Worklet.h"
 | 
|  
 | 
|  #include "bindings/core/v8/ScriptPromiseResolver.h"
 | 
| -#include "bindings/core/v8/ScriptSourceCode.h"
 | 
|  #include "bindings/core/v8/V8Binding.h"
 | 
|  #include "bindings/core/v8/WorkerOrWorkletScriptController.h"
 | 
|  #include "core/dom/DOMException.h"
 | 
|  #include "core/dom/ExceptionCode.h"
 | 
|  #include "core/inspector/InspectorInstrumentation.h"
 | 
| -#include "modules/worklet/WorkletGlobalScope.h"
 | 
| +#include "core/workers/WorkletGlobalScopeProxy.h"
 | 
|  
 | 
|  namespace blink {
 | 
|  
 | 
| @@ -62,8 +61,8 @@ void Worklet::onFinished(WorkerScriptLoader* scriptLoader, ScriptPromiseResolver
 | 
|          // TODO(ikilpatrick): Worklets don't have the same error behaviour
 | 
|          // as workers, etc. For a SyntaxError we should reject, however if
 | 
|          // the script throws a normal error, resolve. For now just resolve.
 | 
| -        workletGlobalScope()->scriptController()->evaluate(ScriptSourceCode(scriptLoader->script(), scriptLoader->url()));
 | 
| -        InspectorInstrumentation::scriptImported(workletGlobalScope(), scriptLoader->identifier(), scriptLoader->script());
 | 
| +        workletGlobalScopeProxy()->evaluateScript(scriptLoader->script(), scriptLoader->url());
 | 
| +        InspectorInstrumentation::scriptImported(getExecutionContext(), scriptLoader->identifier(), scriptLoader->script());
 | 
|          resolver->resolve();
 | 
|      }
 | 
|  
 | 
| @@ -78,7 +77,7 @@ void Worklet::onFinished(WorkerScriptLoader* scriptLoader, ScriptPromiseResolver
 | 
|  
 | 
|  void Worklet::stop()
 | 
|  {
 | 
| -    workletGlobalScope()->dispose();
 | 
| +    workletGlobalScopeProxy()->terminateWorkletGlobalScope();
 | 
|  
 | 
|      for (auto scriptLoader : m_scriptLoaders) {
 | 
|          scriptLoader->cancel();
 | 
| 
 |