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

Unified Diff: native_client_sdk/src/libraries/ppapi_simple/ps_main.c

Issue 964983002: [NaCl SDK] ppapi_simple: Don't initialize nacl_io when running in sel_ldr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/ppapi_simple/ps_main.c
diff --git a/native_client_sdk/src/libraries/ppapi_simple/ps_main.c b/native_client_sdk/src/libraries/ppapi_simple/ps_main.c
index fd3602a7731226294cd8805e50364af3aaa3d0f5..39235749447f11c0e39cbb08dc36a93e27d59232 100644
--- a/native_client_sdk/src/libraries/ppapi_simple/ps_main.c
+++ b/native_client_sdk/src/libraries/ppapi_simple/ps_main.c
@@ -37,10 +37,5 @@ int main(int argc, char* argv[]) {
#endif
// By default, or if not running in the browser we simply run the main
// entry point directly, on the main thread.
- int rtn = nacl_io_init();
- if (rtn != 0)
- return rtn;
- rtn = PSUserMainGet()(argc, argv);
- nacl_io_uninit();
- return rtn;
+ return PSUserMainGet()(argc, argv);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698