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

Unified Diff: chrome/browser/safe_browsing/sandboxed_zip_analyzer.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: chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
diff --git a/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc b/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
index f0ad87cc4287a5b51cf7123e33dffd82b937ac8d..1779e4ee396fa35549ce24d30ee85e2be2bf0bef 100644
--- a/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
+++ b/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
@@ -148,9 +148,8 @@ void SandboxedZipAnalyzer::OnUtilityProcessStarted() {
utility_process_host_->Send(
new ChromeUtilityMsg_AnalyzeZipFileForDownloadProtection(
IPC::TakeFileHandleForProcess(std::move(zip_file_), utility_process),
- IPC::GetFileHandleForProcess(temp_file_.GetPlatformFile(),
- utility_process,
- false /* !close_source_handle */)));
+ IPC::GetPlatformFileForTransit(temp_file_.GetPlatformFile(),
+ false /* !close_source_handle */)));
}
void SandboxedZipAnalyzer::OnAnalyzeZipFileFinished(

Powered by Google App Engine
This is Rietveld 408576698