| Index: components/nacl/renderer/ppb_nacl_private_impl.cc
|
| diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| index a4c9af9b2f18befa096ef16ffbd7d1cd3e3e33ae..82a9095953067e07ab7b76c9cb4bd84775fa3be8 100644
|
| --- a/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| +++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
|
| @@ -362,13 +362,18 @@ int32_t BrokerDuplicateHandle(PP_FileHandle source_handle,
|
| #endif
|
| }
|
|
|
| -PP_FileHandle GetReadonlyPnaclFD(const char* filename) {
|
| +PP_FileHandle GetReadonlyPnaclFD(const char* filename,
|
| + PP_Bool is_executable,
|
| + uint64_t* nonce_lo,
|
| + uint64_t* nonce_hi) {
|
| IPC::PlatformFileForTransit out_fd = IPC::InvalidPlatformFileForTransit();
|
| IPC::Sender* sender = content::RenderThread::Get();
|
| DCHECK(sender);
|
| + *nonce_lo = 0;
|
| + *nonce_hi = 0;
|
| if (!sender->Send(new NaClHostMsg_GetReadonlyPnaclFD(
|
| - std::string(filename),
|
| - &out_fd))) {
|
| + std::string(filename), PP_ToBool(is_executable),
|
| + &out_fd, nonce_lo, nonce_hi))) {
|
| return base::kInvalidPlatformFileValue;
|
| }
|
| if (out_fd == IPC::InvalidPlatformFileForTransit()) {
|
|
|