| Index: third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| index e6cbbd5b1de02c9c93eb90fab76a4b8e0f3a30c9..4888c6db8dcb71db4ead682091a058d013c55fa2 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp
|
| @@ -140,8 +140,8 @@ void V8AbstractEventListener::invokeEventHandler(ScriptState* scriptState, Event
|
| event->target()->uncaughtExceptionInEventHandler();
|
|
|
| if (!tryCatch.CanContinue()) { // Result of TerminateExecution().
|
| - if (scriptState->executionContext()->isWorkerGlobalScope())
|
| - toWorkerGlobalScope(scriptState->executionContext())->scriptController()->forbidExecution();
|
| + if (scriptState->getExecutionContext()->isWorkerGlobalScope())
|
| + toWorkerGlobalScope(scriptState->getExecutionContext())->scriptController()->forbidExecution();
|
| return;
|
| }
|
| tryCatch.Reset();
|
|
|