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

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

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.h
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h
index 26941b77e3de8288cef870f88305b13fe40f089c..cc4e01fa8cb51b1d380d00dc0b5c7818795f4030 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h
@@ -58,7 +58,7 @@ class CORE_EXPORT InProcessWorkerMessagingProxy
ContentSecurityPolicy*,
const String& referrerPolicy);
void postMessageToWorkerGlobalScope(PassRefPtr<SerializedScriptValue>,
- std::unique_ptr<MessagePortChannelArray>);
+ MessagePortChannelArray);
void workerThreadCreated() override;
void parentObjectDestroyed() override;
@@ -68,7 +68,7 @@ class CORE_EXPORT InProcessWorkerMessagingProxy
// These methods come from worker context thread via
// InProcessWorkerObjectProxy and are called on the parent context thread.
void postMessageToWorkerObject(PassRefPtr<SerializedScriptValue>,
- std::unique_ptr<MessagePortChannelArray>);
+ MessagePortChannelArray);
void dispatchErrorEvent(const String& errorMessage,
std::unique_ptr<SourceLocation>,
int exceptionId);
@@ -100,10 +100,10 @@ class CORE_EXPORT InProcessWorkerMessagingProxy
struct QueuedTask {
RefPtr<SerializedScriptValue> message;
- std::unique_ptr<MessagePortChannelArray> channels;
+ MessagePortChannelArray channels;
QueuedTask(RefPtr<SerializedScriptValue> message,
- std::unique_ptr<MessagePortChannelArray> channels);
+ MessagePortChannelArray channels);
~QueuedTask();
};

Powered by Google App Engine
This is Rietveld 408576698