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 aab275d9fb0df1c9dff3eab409a29d232e399ed7..72a9565d47db33918ccfe5e37458dbb10b399d8f 100644 |
--- a/components/nacl/browser/nacl_host_message_filter.cc |
+++ b/components/nacl/browser/nacl_host_message_filter.cc |
@@ -325,8 +325,7 @@ void NaClHostMessageFilter::AsyncReturnTemporaryFile( |
if (file.IsValid()) { |
// Don't close our copy of the handle, because PnaclHost will use it |
// when the translation finishes. |
- fd = IPC::GetFileHandleForProcess(file.GetPlatformFile(), PeerHandle(), |
- false); |
+ fd = IPC::GetPlatformFileForTransit(file.GetPlatformFile(), false); |
} |
Send(new NaClViewMsg_NexeTempFileReply(pp_instance, is_hit, fd)); |
} |