| Index: Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| diff --git a/Source/bindings/core/v8/V8AbstractEventListener.cpp b/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| index 058ec36295b1fe8f8b26ed040a9b8c57adc0c85a..96daf47d2a143864a42c2343ca8bf642b7b826a5 100644
|
| --- a/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| +++ b/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| @@ -128,7 +128,7 @@ void V8AbstractEventListener::invokeEventHandler(ScriptState* scriptState, Event
|
|
|
| if (!tryCatch.CanContinue()) { // Result of TerminateExecution().
|
| if (scriptState->executionContext()->isWorkerGlobalScope())
|
| - toWorkerGlobalScope(scriptState->executionContext())->script()->forbidExecution();
|
| + toWorkerGlobalScope(scriptState->executionContext())->scriptController()->forbidExecution();
|
| return;
|
| }
|
| tryCatch.Reset();
|
|
|