Index: ipc/ipc_platform_file.cc |
diff --git a/ipc/ipc_platform_file.cc b/ipc/ipc_platform_file.cc |
index c8fde86f1e4564403290da39c2abf6cb880e48bc..2dcc9aa156b3e995d3198289a92c7e320315bdfb 100644 |
--- a/ipc/ipc_platform_file.cc |
+++ b/ipc/ipc_platform_file.cc |
@@ -11,9 +11,8 @@ |
namespace IPC { |
-PlatformFileForTransit GetFileHandleForProcess(base::PlatformFile handle, |
- base::ProcessHandle process, |
- bool close_source_handle) { |
+PlatformFileForTransit GetPlatformFileForTransit(base::PlatformFile handle, |
+ bool close_source_handle) { |
#if defined(OS_WIN) |
HANDLE raw_handle = INVALID_HANDLE_VALUE; |
DWORD options = DUPLICATE_SAME_ACCESS; |
@@ -47,7 +46,7 @@ PlatformFileForTransit GetFileHandleForProcess(base::PlatformFile handle, |
PlatformFileForTransit TakeFileHandleForProcess(base::File file, |
base::ProcessHandle process) { |
- return GetFileHandleForProcess(file.TakePlatformFile(), process, true); |
+ return GetPlatformFileForTransit(file.TakePlatformFile(), true); |
} |
} // namespace IPC |