Index: third_party/WebKit/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp b/third_party/WebKit/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp |
index ceaa250a0dd5c137bc54a99c2fe16f5a3856e5fc..4955654486ea0b1b5e56d20102273c70a77337dd 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp |
@@ -54,7 +54,7 @@ void V8WorkerGlobalScopeEventListener::handleEvent(ScriptState* scriptState, Eve |
// See issue 889829. |
RefPtrWillBeRawPtr<V8AbstractEventListener> protect(this); |
- WorkerOrWorkletScriptController* script = toWorkerGlobalScope(scriptState->executionContext())->script(); |
+ WorkerOrWorkletScriptController* script = toWorkerGlobalScope(scriptState->executionContext())->scriptController(); |
if (!script) |
return; |