Index: content/browser/download/mhtml_generation_manager.cc |
diff --git a/content/browser/download/mhtml_generation_manager.cc b/content/browser/download/mhtml_generation_manager.cc |
index ef9202330d2af6a34d9a474600a1905bf27d5b8c..623ab53546e7e5314e0dbf61b72b772cfe399aaa 100644 |
--- a/content/browser/download/mhtml_generation_manager.cc |
+++ b/content/browser/download/mhtml_generation_manager.cc |
@@ -188,9 +188,8 @@ bool MHTMLGenerationManager::Job::SendToNextRenderFrame() { |
ipc_params.salt = salt_; |
ipc_params.digests_of_uris_to_skip = digests_of_already_serialized_uris_; |
- ipc_params.destination_file = IPC::GetFileHandleForProcess( |
- browser_file_.GetPlatformFile(), rfh->GetProcess()->GetHandle(), |
- false); // |close_source_handle|. |
+ ipc_params.destination_file = IPC::GetPlatformFileForTransit( |
+ browser_file_.GetPlatformFile(), false); // |close_source_handle|. |
ipc_params.frame_routing_id_to_content_id = |
CreateFrameRoutingIdToContentId(rfh->GetSiteInstance()); |