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 a6c7caf66d208e3b4b93eb65f7adf0353b770e29..e6cbbd5b1de02c9c93eb90fab76a4b8e0f3a30c9 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8AbstractEventListener.cpp |
@@ -141,7 +141,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(); |