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

Unified Diff: services/nacl/nonsfi/pnacl_link.cc

Issue 1932713003: More SynchronousInterfacePtr conversion + some related pexe content handler cleanup. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 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 | « services/nacl/nonsfi/pnacl_compile.mojom ('k') | services/nacl/nonsfi/pnacl_link.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/nacl/nonsfi/pnacl_link.cc
diff --git a/services/nacl/nonsfi/pnacl_link.cc b/services/nacl/nonsfi/pnacl_link.cc
index 509495cb025b6abd8a8ae7fa13b0243f8b660c32..1e5e49374523e1b10d9968b32b8b6de61c38cee0 100644
--- a/services/nacl/nonsfi/pnacl_link.cc
+++ b/services/nacl/nonsfi/pnacl_link.cc
@@ -21,12 +21,12 @@ namespace nacl {
class PexeLinkerImpl : public PexeLinkerInit {
public:
- void PexeLinkerStart(ScopedMessagePipeHandle handle) override {
+ void PexeLinkerStart(InterfaceRequest<PexeLinker> linker_request) override {
int nexe_fd = ::nacl::DataToTempFileDescriptor(::nacl::kLdNexe);
CHECK(nexe_fd >= 0) << "Could not open linker nexe";
- ::nacl::MojoLaunchNexeNonsfi(nexe_fd,
- handle.release().value(),
- true /* enable_translate_irt */);
+ ::nacl::MojoLaunchNexeNonsfi(
+ nexe_fd, linker_request.PassMessagePipe().release().value(),
+ true /* enable_translate_irt */);
}
};
« no previous file with comments | « services/nacl/nonsfi/pnacl_compile.mojom ('k') | services/nacl/nonsfi/pnacl_link.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698