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

Unified Diff: chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc

Issue 1862333002: ipc: Rename TakeFileHandleForProcess->TakePlatformFileForTransit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile errors. 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
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc
diff --git a/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc b/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc
index abcfde21b0ff5e59904d99fd0853ab23e935c8f8..a27e6cf854ba5885d8d35ea1f33611160d28c881 100644
--- a/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc
+++ b/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc
@@ -58,10 +58,8 @@ void SafeAudioVideoChecker::OnProcessStarted() {
return;
state_ = STARTED_STATE;
- if (utility_process_host_->GetData().handle == base::kNullProcessHandle)
- DLOG(ERROR) << "Child process handle is null";
- IPC::PlatformFileForTransit file_for_transit = IPC::TakeFileHandleForProcess(
- std::move(file_), utility_process_host_->GetData().handle);
+ IPC::PlatformFileForTransit file_for_transit =
+ IPC::TakePlatformFileForTransit(std::move(file_));
if (file_for_transit == IPC::InvalidPlatformFileForTransit()) {
OnCheckingFinished(false /* valid? */);
return;
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/safe_iapps_library_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698