Index: content/worker/webworker_stub.cc |
diff --git a/content/worker/webworker_stub.cc b/content/worker/webworker_stub.cc |
index f782bb34d027612909cc74bca5ad19719df0953a..344da2eb1bb6755d3d7173738beb018e1f5cc5ad 100644 |
--- a/content/worker/webworker_stub.cc |
+++ b/content/worker/webworker_stub.cc |
@@ -71,11 +71,11 @@ void WebWorkerStub::OnPostMessage( |
const string16& message, |
const std::vector<int>& sent_message_port_ids, |
const std::vector<int>& new_routing_ids) { |
- WebKit::WebMessagePortChannelArray channels(sent_message_port_ids.size()); |
+ WebKit::WebTransferableReceiptArray receipts(sent_message_port_ids.size()); |
for (size_t i = 0; i < sent_message_port_ids.size(); i++) { |
- channels[i] = new WebMessagePortChannelImpl( |
+ receipts[i] = new WebMessagePortChannelImpl( |
new_routing_ids[i], sent_message_port_ids[i]); |
} |
- impl_->postMessageToWorkerContext(message, channels); |
+ impl_->postMessageToWorkerContext(message, receipts); |
} |