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

Unified Diff: components/nacl/browser/nacl_host_message_filter.cc

Issue 1858973002: ipc: Rename GetFileHandleForProcess->GetPlatformFileForTransit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp16_ipc_pfft_implementation
Patch Set: Comments from tsepez. 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
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));
}

Powered by Google App Engine
This is Rietveld 408576698