| Index: services/nacl/nonsfi/pnacl_compile.cc
|
| diff --git a/services/nacl/nonsfi/pnacl_compile.cc b/services/nacl/nonsfi/pnacl_compile.cc
|
| index 969925e1007ede06d61e440c2c0a7f9204d2e63e..38d5ef4009ae8443c42a0ae346a3287c7a0bc460 100644
|
| --- a/services/nacl/nonsfi/pnacl_compile.cc
|
| +++ b/services/nacl/nonsfi/pnacl_compile.cc
|
| @@ -21,13 +21,14 @@ namespace nacl {
|
|
|
| class PexeCompilerImpl : public PexeCompilerInit {
|
| public:
|
| - void PexeCompilerStart(ScopedMessagePipeHandle handle) override {
|
| + void PexeCompilerStart(
|
| + InterfaceRequest<PexeCompiler> compiler_request) override {
|
| int nexe_fd =
|
| ::nacl::DataToTempFileDescriptor(::nacl::kPnaclTranslatorCompile);
|
| CHECK(nexe_fd >= 0) << "Could not open compiler nexe";
|
| - ::nacl::MojoLaunchNexeNonsfi(nexe_fd,
|
| - handle.release().value(),
|
| - true /* enable_translate_irt */);
|
| + ::nacl::MojoLaunchNexeNonsfi(
|
| + nexe_fd, compiler_request.PassMessagePipe().release().value(),
|
| + true /* enable_translate_irt */);
|
| }
|
| };
|
|
|
|
|