Index: content/child/service_worker/web_service_worker_impl.cc |
diff --git a/content/child/service_worker/web_service_worker_impl.cc b/content/child/service_worker/web_service_worker_impl.cc |
index f38d2c0767f1be065575cf8bf4406e3ce5c99ed8..abc62e02f2b5a21566964d1658510ae59ef5bfdf 100644 |
--- a/content/child/service_worker/web_service_worker_impl.cc |
+++ b/content/child/service_worker/web_service_worker_impl.cc |
@@ -43,9 +43,12 @@ void SendPostMessageToWorkerOnMainThread( |
int handle_id, |
const base::string16& message, |
scoped_ptr<WebMessagePortChannelArray> channels) { |
- thread_safe_sender->Send(new ServiceWorkerHostMsg_PostMessageToWorker( |
- handle_id, message, |
- WebMessagePortChannelImpl::ExtractMessagePortIDs(std::move(channels)))); |
+ // TODO(nhiroki): Switch to PostMessageToClient message after |
+ // ExtendableMessageEvent is implemented (crbug.com/543198). |
+ thread_safe_sender->Send( |
+ new ServiceWorkerHostMsg_DeprecatedPostMessageToWorker( |
+ handle_id, message, WebMessagePortChannelImpl::ExtractMessagePortIDs( |
+ std::move(channels)))); |
} |
} // namespace |