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

Unified Diff: components/nacl/loader/nonsfi/nonsfi_main.cc

Issue 1171493003: NaCl: Clean up some uses of native_client/src/trusted/desc/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Created 5 years, 6 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 | « components/nacl/loader/nonsfi/DEPS ('k') | components/nacl/renderer/plugin/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/loader/nonsfi/nonsfi_main.cc
diff --git a/components/nacl/loader/nonsfi/nonsfi_main.cc b/components/nacl/loader/nonsfi/nonsfi_main.cc
index 1b05d84db421a9ee167126e9d8ce3d0080188aff..6781514a7a3ec2b1e592558f5ed10f1e4384cdfd 100644
--- a/components/nacl/loader/nonsfi/nonsfi_main.cc
+++ b/components/nacl/loader/nonsfi/nonsfi_main.cc
@@ -17,8 +17,7 @@
#include "components/nacl/loader/nonsfi/elf_loader.h"
#include "components/nacl/loader/nonsfi/irt_interfaces.h"
#include "native_client/src/include/nacl_macros.h"
-#include "native_client/src/trusted/desc/nacl_desc_base.h"
-#include "native_client/src/trusted/desc/nacl_desc_io.h"
+#include "native_client/src/public/nacl_desc.h"
#include "native_client/src/trusted/service_runtime/include/sys/fcntl.h"
#endif
@@ -83,7 +82,7 @@ void MainStart(int nexe_file) {
reinterpret_cast<EntryPointType>(NaClLoadElfFile(nexe_file));
#else
::scoped_ptr<struct NaClDesc, NaClDescUnrefer> desc(
- NaClDescIoDescFromDescAllocCtor(nexe_file, NACL_ABI_O_RDONLY));
+ NaClDescIoMakeFromHandle(nexe_file, NACL_ABI_O_RDONLY));
ElfImage image;
if (image.Read(desc.get()) != LOAD_OK) {
LOG(ERROR) << "LoadModuleRpc: Failed to read binary.";
« no previous file with comments | « components/nacl/loader/nonsfi/DEPS ('k') | components/nacl/renderer/plugin/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698