Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(963)

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add missing ScopedAsyncTaskScheduler instance for the new unit tests; required by a recent change t… Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp
index 80a09f28f9cf15d5b26a6c6ae311b49d91562f50..1dc697480e4a76da445078937fa6a0adc325234f 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp
@@ -119,7 +119,7 @@ void InProcessWorkerMessagingProxy::startWorkerGlobalScope(
void InProcessWorkerMessagingProxy::postMessageToWorkerObject(
PassRefPtr<SerializedScriptValue> message,
- std::unique_ptr<MessagePortChannelArray> channels) {
+ MessagePortChannelArray channels) {
DCHECK(isParentContextThread());
if (!m_workerObject || askedToTerminate())
return;
@@ -132,7 +132,7 @@ void InProcessWorkerMessagingProxy::postMessageToWorkerObject(
void InProcessWorkerMessagingProxy::postMessageToWorkerGlobalScope(
PassRefPtr<SerializedScriptValue> message,
- std::unique_ptr<MessagePortChannelArray> channels) {
+ MessagePortChannelArray channels) {
DCHECK(isParentContextThread());
if (askedToTerminate())
return;
@@ -240,7 +240,7 @@ bool InProcessWorkerMessagingProxy::hasPendingActivity() const {
InProcessWorkerMessagingProxy::QueuedTask::QueuedTask(
RefPtr<SerializedScriptValue> message,
- std::unique_ptr<MessagePortChannelArray> channels)
+ MessagePortChannelArray channels)
: message(std::move(message)), channels(std::move(channels)) {}
InProcessWorkerMessagingProxy::QueuedTask::~QueuedTask() = default;

Powered by Google App Engine
This is Rietveld 408576698