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

Unified Diff: content/worker/webworker_stub.cc

Issue 7477027: Support Transferable objects (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebase. Created 9 years, 4 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
« no previous file with comments | « content/renderer/webworker_proxy.cc ('k') | content/worker/webworkerclient_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « content/renderer/webworker_proxy.cc ('k') | content/worker/webworkerclient_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698