Chromium Code Reviews| Index: ppapi/proxy/ppapi_proxy_test.cc |
| diff --git a/ppapi/proxy/ppapi_proxy_test.cc b/ppapi/proxy/ppapi_proxy_test.cc |
| index 5ff1a4e8186cf2dd3fbad78223a9a5a55cbda18d..88bf5dba70a5ece40e3dd24c6c07217eac43c4c4 100644 |
| --- a/ppapi/proxy/ppapi_proxy_test.cc |
| +++ b/ppapi/proxy/ppapi_proxy_test.cc |
| @@ -253,9 +253,8 @@ PluginProxyTestHarness::PluginDelegateMock::ShareHandleWithRemote( |
| base::PlatformFile handle, |
| base::ProcessId /* remote_pid */, |
| bool should_close_source) { |
| - return IPC::GetFileHandleForProcess(handle, |
| - base::GetCurrentProcessHandle(), |
| - should_close_source); |
| + return IPC::GetPlatformFileForTransit(handle, |
| + should_close_source); |
|
Mark Seaborn
2016/04/05 19:40:38
Nit: fits on previous line?
|
| } |
| base::SharedMemoryHandle |
| @@ -491,9 +490,8 @@ HostProxyTestHarness::DelegateMock::ShareHandleWithRemote( |
| base::PlatformFile handle, |
| base::ProcessId /* remote_pid */, |
| bool should_close_source) { |
| - return IPC::GetFileHandleForProcess(handle, |
| - base::GetCurrentProcessHandle(), |
| - should_close_source); |
| + return IPC::GetPlatformFileForTransit(handle, |
| + should_close_source); |
| } |
| base::SharedMemoryHandle |