| Index: third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| index 589835b0c54bed9d649cefc146243f0908e3b9c9..c7f16c1518cc93afae61675e0cc31cf3f11180e2 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp
|
| @@ -42,6 +42,7 @@
|
| #include "bindings/core/v8/V8ObjectConstructor.h"
|
| #include "bindings/core/v8/V8ScriptRunner.h"
|
| #include "bindings/core/v8/WrapperTypeInfo.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/events/ErrorEvent.h"
|
| #include "core/inspector/InspectorTraceEvents.h"
|
| #include "core/inspector/WorkerThreadDebugger.h"
|
| @@ -273,7 +274,7 @@ ScriptValue WorkerOrWorkletScriptController::Evaluate(
|
| execution_state_->had_exception = true;
|
| execution_state_->error_message = ToCoreString(message->Get());
|
| execution_state_->location_ = SourceLocation::FromMessage(
|
| - isolate_, message, script_state_->GetExecutionContext());
|
| + isolate_, message, ExecutionContext::From(script_state_.Get()));
|
| execution_state_->exception =
|
| ScriptValue(script_state_.Get(), block.Exception());
|
| block.Reset();
|
|
|