| Index: components/translate/content/browser/data_file_browser_cld_data_provider.cc
|
| diff --git a/components/translate/content/browser/data_file_browser_cld_data_provider.cc b/components/translate/content/browser/data_file_browser_cld_data_provider.cc
|
| index dcfe4cee3ac86311bd3913fe0b1e9a2507b5c6b8..ca658036af9530c0b0d032d425430cdb735ebfab 100644
|
| --- a/components/translate/content/browser/data_file_browser_cld_data_provider.cc
|
| +++ b/components/translate/content/browser/data_file_browser_cld_data_provider.cc
|
| @@ -160,10 +160,8 @@ void DataFileBrowserCldDataProvider::SendCldDataResponseInternal(
|
| }
|
|
|
| // Data available, respond to the request.
|
| - base::ProcessHandle render_process_handle = render_process_host->GetHandle();
|
| IPC::PlatformFileForTransit ipc_platform_file =
|
| - IPC::GetFileHandleForProcess(handle->GetPlatformFile(),
|
| - render_process_handle, false);
|
| + IPC::GetPlatformFileForTransit(handle->GetPlatformFile(), false);
|
|
|
| // In general, sending a response from within the code path that is processing
|
| // a request is discouraged because there is potential for deadlock (if the
|
|
|