| 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 d74ec6a594bd15332a08e6f0d17672c24fcb1357..3546a873a016c81e52d1b564463a533cebb3f3bc 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp
|
| @@ -50,10 +50,6 @@ V8WorkerGlobalScopeEventListener::V8WorkerGlobalScopeEventListener(bool isInline
|
|
|
| void V8WorkerGlobalScopeEventListener::handleEvent(ScriptState* scriptState, Event* event)
|
| {
|
| - // The callback function on XMLHttpRequest can clear the event listener and destroys 'this' object. Keep a local reference to it.
|
| - // See issue 889829.
|
| - RawPtr<V8AbstractEventListener> protect(this);
|
| -
|
| WorkerOrWorkletScriptController* script = toWorkerGlobalScope(scriptState->getExecutionContext())->scriptController();
|
| if (!script)
|
| return;
|
|
|