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