| 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 f8567057d22a4fce889ad10cbecde52310d5a7be..272bda709d16484dc57d287cd70a1a6f39a686e9 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp
|
| @@ -71,7 +71,7 @@ void processMessageOnWorkerGlobalScope(PassRefPtr<SerializedScriptValue> message
|
|
|
| } // namespace
|
|
|
| -WorkerMessagingProxy::WorkerMessagingProxy(InProcessWorkerBase* workerObject, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients)
|
| +WorkerMessagingProxy::WorkerMessagingProxy(InProcessWorkerBase* workerObject, RawPtr<WorkerClients> workerClients)
|
| : m_executionContext(workerObject->getExecutionContext())
|
| , 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);
|
| DispatchEventResult dispatchResult = m_workerObject->dispatchEvent(event);
|
| postTaskToWorkerGlobalScope(createCrossThreadTask(&processExceptionOnWorkerGlobalScope, exceptionId, dispatchResult != DispatchEventResult::NotCanceled));
|
| }
|
| @@ -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->setWorkerInspectorProxy(m_workerInspectorProxy.get());
|
| frame->console().addMessage(consoleMessage.release());
|
| }
|
|
|