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

Unified Diff: content/browser/browser_child_process_host_impl.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: content/browser/browser_child_process_host_impl.cc
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc
index c47a32d36357ae3cd9616c879e98ca45db4f1075..d7cdb377201be2808cea60eccbf0192c2a342ae8 100644
--- a/content/browser/browser_child_process_host_impl.cc
+++ b/content/browser/browser_child_process_host_impl.cc
@@ -416,8 +416,8 @@ void BrowserChildProcessHostImpl::OnProcessLaunched() {
mojo::edk::ScopedPlatformHandle client_pipe =
mojo::edk::ChildProcessLaunched(process.Handle());
- Send(new ChildProcessMsg_SetMojoParentPipeHandle(IPC::GetFileHandleForProcess(
- client_pipe.release().handle, process.Handle(), true)));
+ Send(new ChildProcessMsg_SetMojoParentPipeHandle(
+ IPC::GetPlatformFileForTransit(client_pipe.release().handle, true)));
#if defined(OS_WIN)
// Start a WaitableEventWatcher that will invoke OnProcessExitedEarly if the

Powered by Google App Engine
This is Rietveld 408576698