| Index: third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.cpp b/third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.cpp
|
| index 2446664854b6550df260e7017949f1a0cbc43aaa..b83ceb66726eb4bb2b63041a52edc2cd005f839f 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/WorkerScriptController.cpp
|
| @@ -252,7 +252,7 @@ bool WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, RefPtr
|
| *errorEvent = ErrorEvent::createSanitizedError(m_world.get());
|
| else
|
| *errorEvent = ErrorEvent::create(state.errorMessage, state.sourceURL, state.lineNumber, state.columnNumber, m_world.get());
|
| - V8ErrorHandler::storeExceptionOnErrorEventWrapper(isolate(), errorEvent->get(), state.exception.v8Value(), m_scriptState->context()->Global());
|
| + V8ErrorHandler::storeExceptionOnErrorEventWrapper(m_scriptState.get(), errorEvent->get(), state.exception.v8Value(), m_scriptState->context()->Global());
|
| } else {
|
| ASSERT(!m_workerGlobalScope->shouldSanitizeScriptError(state.sourceURL, NotSharableCrossOrigin));
|
| RefPtrWillBeRawPtr<ErrorEvent> event = nullptr;
|
|
|