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

Unified Diff: samples/sample_extension/sample_extension.cc

Issue 834233003: Fix for issue 21398 (only send "literal like" objects across isolates spawned using spawnURI (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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: samples/sample_extension/sample_extension.cc
===================================================================
--- samples/sample_extension/sample_extension.cc (revision 42669)
+++ samples/sample_extension/sample_extension.cc (working copy)
@@ -93,7 +93,7 @@
param2->type == Dart_CObject_kSendPort) {
int seed = param0->value.as_int32;
int length = param1->value.as_int32;
- reply_port_id = param2->value.as_send_port;
+ reply_port_id = param2->value.as_send_port.id;
uint8_t* values = randomArray(seed, length);
if (values != NULL) {

Powered by Google App Engine
This is Rietveld 408576698