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

Unified Diff: content/browser/shared_worker/shared_worker_host.h

Issue 2604733003: SharedWorker: Clean up SharedWorkerHost (Closed)
Patch Set: fix test crashes Created 4 years 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
« no previous file with comments | « no previous file | content/browser/shared_worker/shared_worker_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/shared_worker/shared_worker_host.h
diff --git a/content/browser/shared_worker/shared_worker_host.h b/content/browser/shared_worker/shared_worker_host.h
index 32235254aca259bd06ea7eca889ddbc316e16b6b..f1c394e7651e0ad194652f6efd9dde53291499af 100644
--- a/content/browser/shared_worker/shared_worker_host.h
+++ b/content/browser/shared_worker/shared_worker_host.h
@@ -37,7 +37,7 @@ class SharedWorkerHost {
~SharedWorkerHost();
// Sends |message| to the SharedWorker.
- bool Send(IPC::Message* message);
+ bool Send(std::unique_ptr<IPC::Message> message);
kinuko 2016/12/27 15:38:29 This generally follows IPC::Sender pattern, it's f
nhiroki 2016/12/28 02:20:37 I reverted this change because I plan to mojofy sh
// Starts the SharedWorker in the renderer process which is associated with
// |filter_|.
« no previous file with comments | « no previous file | content/browser/shared_worker/shared_worker_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698