| Index: components/nacl/browser/nacl_host_message_filter.cc
|
| diff --git a/components/nacl/browser/nacl_host_message_filter.cc b/components/nacl/browser/nacl_host_message_filter.cc
|
| index 72a9565d47db33918ccfe5e37458dbb10b399d8f..c8d0ebfe06d350059b22169bdf4dbcfc9dc19cb3 100644
|
| --- a/components/nacl/browser/nacl_host_message_filter.cc
|
| +++ b/components/nacl/browser/nacl_host_message_filter.cc
|
| @@ -225,8 +225,8 @@ void NaClHostMessageFilter::BatchOpenResourceFiles(
|
| continue;
|
|
|
| prefetched_resource_files.push_back(NaClResourcePrefetchResult(
|
| - IPC::TakeFileHandleForProcess(std::move(file), PeerHandle()),
|
| - file_path_metadata, request_list[i].file_key));
|
| + IPC::TakePlatformFileForTransit(std::move(file)), file_path_metadata,
|
| + request_list[i].file_key));
|
|
|
| if (prefetched_resource_files.size() >= kMaxPreOpenResourceFiles)
|
| break;
|
| @@ -301,8 +301,7 @@ void NaClHostMessageFilter::SyncReturnTemporaryFile(
|
| base::File file) {
|
| if (file.IsValid()) {
|
| NaClHostMsg_NaClCreateTemporaryFile::WriteReplyParams(
|
| - reply_msg,
|
| - IPC::TakeFileHandleForProcess(std::move(file), PeerHandle()));
|
| + reply_msg, IPC::TakePlatformFileForTransit(std::move(file)));
|
| } else {
|
| reply_msg->set_reply_error();
|
| }
|
|
|