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

Unified Diff: tests/native_worker/native_worker.c

Issue 5622003: Restructure the structs/unions involved in SRPC argument passing. This will... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 10 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 | « tests/native_worker/mandel_worker.c ('k') | tests/photo/nacl_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/native_worker/native_worker.c
===================================================================
--- tests/native_worker/native_worker.c (revision 3898)
+++ tests/native_worker/native_worker.c (working copy)
@@ -40,7 +40,7 @@
/*
* Strdup must be used because the SRPC layer frees the string passed to it.
*/
- message_string = strdup(in_args[0]->u.sval.str);
+ message_string = strdup(in_args[0]->arrays.str);
/*
* Echo the message back to the renderer.
*/
« no previous file with comments | « tests/native_worker/mandel_worker.c ('k') | tests/photo/nacl_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698