| Index: third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp b/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp
|
| index 9b9a877fb401ba625233eef506f6dc1d549cd1a3..176781b1c4d38a0def907e4f3b4687c1bf21e7d0 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp
|
| @@ -70,7 +70,7 @@ void processMessageOnWorkerGlobalScope(PassRefPtr<SerializedScriptValue> message
|
|
|
| } // namespace
|
|
|
| -WorkerMessagingProxy::WorkerMessagingProxy(InProcessWorkerBase* workerObject, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients)
|
| +WorkerMessagingProxy::WorkerMessagingProxy(InProcessWorkerBase* workerObject, RawPtr<WorkerClients> workerClients)
|
| : m_executionContext(workerObject->executionContext())
|
| , m_workerObjectProxy(WorkerObjectProxy::create(this))
|
| , m_workerObject(workerObject)
|
| @@ -169,7 +169,7 @@ void WorkerMessagingProxy::reportException(const String& errorMessage, int lineN
|
| // We don't bother checking the askedToTerminate() flag here, because exceptions should *always* be reported even if the thread is terminated.
|
| // This is intentionally different than the behavior in MessageWorkerTask, because terminated workers no longer deliver messages (section 4.6 of the WebWorker spec), but they do report exceptions.
|
|
|
| - RefPtrWillBeRawPtr<ErrorEvent> event = ErrorEvent::create(errorMessage, sourceURL, lineNumber, columnNumber, nullptr);
|
| + RawPtr<ErrorEvent> event = ErrorEvent::create(errorMessage, sourceURL, lineNumber, columnNumber, nullptr);
|
| bool errorHandled = !m_workerObject->dispatchEvent(event);
|
| postTaskToWorkerGlobalScope(createCrossThreadTask(&processExceptionOnWorkerGlobalScope, exceptionId, errorHandled));
|
| }
|
| @@ -185,7 +185,7 @@ void WorkerMessagingProxy::reportConsoleMessage(MessageSource source, MessageLev
|
| if (!frame)
|
| return;
|
|
|
| - RefPtrWillBeRawPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(source, level, message, sourceURL, lineNumber);
|
| + RawPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(source, level, message, sourceURL, lineNumber);
|
| consoleMessage->setWorkerGlobalScopeProxy(this);
|
| frame->console().addMessage(consoleMessage.release());
|
| }
|
|
|