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

Unified Diff: components/nacl/loader/nacl_listener.cc

Issue 418133006: Replace the argument of nonsfi::MainStart with raw file descriptor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | components/nacl/loader/nonsfi/nonsfi_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/loader/nacl_listener.cc
diff --git a/components/nacl/loader/nacl_listener.cc b/components/nacl/loader/nacl_listener.cc
index 516395dd4af33eeec34c8c7da0d607f41240024f..433d9417d2abd291e532156de13b676ba6c57a4c 100644
--- a/components/nacl/loader/nacl_listener.cc
+++ b/components/nacl/loader/nacl_listener.cc
@@ -38,7 +38,6 @@
#include "components/nacl/loader/nonsfi/irt_random.h"
#include "components/nacl/loader/nonsfi/nonsfi_main.h"
#include "content/public/common/child_process_sandbox_support_linux.h"
-#include "native_client/src/trusted/desc/nacl_desc_io.h"
#include "ppapi/nacl_irt/plugin_startup.h"
#endif
@@ -492,9 +491,7 @@ void NaClListener::StartNonSfi(const nacl::NaClStartParams& params) {
CHECK(params.nexe_token_lo == 0);
CHECK(params.nexe_token_hi == 0);
nacl::nonsfi::MainStart(
- NaClDescIoDescFromDescAllocCtor(
- IPC::PlatformFileForTransitToPlatformFile(params.nexe_file),
- NACL_ABI_O_RDONLY));
+ IPC::PlatformFileForTransitToPlatformFile(params.nexe_file));
#endif // defined(OS_LINUX)
}
« no previous file with comments | « no previous file | components/nacl/loader/nonsfi/nonsfi_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698