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

Unified Diff: tests/inbrowser_test_runner/test_runner.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
Index: tests/inbrowser_test_runner/test_runner.c
===================================================================
--- tests/inbrowser_test_runner/test_runner.c (revision 3855)
+++ tests/inbrowser_test_runner/test_runner.c (working copy)
@@ -26,7 +26,7 @@
NaClSrpcArg **out_args,
NaClSrpcClosure *done) {
int result = g_test_func();
- out_args[0]->u.sval.str = strdup(result == 0 ? "passed" : "failed");
+ out_args[0]->arrays.str = strdup(result == 0 ? "passed" : "failed");
rpc->result = NACL_SRPC_RESULT_OK;
done->Run(done);
}

Powered by Google App Engine
This is Rietveld 408576698