| Index: chrome/browser/printing/pwg_raster_converter.cc
|
| diff --git a/chrome/browser/printing/pwg_raster_converter.cc b/chrome/browser/printing/pwg_raster_converter.cc
|
| index 1b0b4d8084e8ddf9c22dd852ec4c61e1f83995fd..bc00f525f214e06f5c2bc0746af1b31441bbe3fd 100644
|
| --- a/chrome/browser/printing/pwg_raster_converter.cc
|
| +++ b/chrome/browser/printing/pwg_raster_converter.cc
|
| @@ -57,17 +57,17 @@ class FileHandlers {
|
| return temp_dir_.path().AppendASCII("input.pdf");
|
| }
|
|
|
| - IPC::PlatformFileForTransit GetPdfForProcess(base::ProcessHandle process) {
|
| + IPC::PlatformFileForTransit GetPdfForProcess() {
|
| DCHECK(pdf_file_.IsValid());
|
| IPC::PlatformFileForTransit transit =
|
| - IPC::TakeFileHandleForProcess(std::move(pdf_file_), process);
|
| + IPC::TakePlatformFileForTransit(std::move(pdf_file_));
|
| return transit;
|
| }
|
|
|
| - IPC::PlatformFileForTransit GetPwgForProcess(base::ProcessHandle process) {
|
| + IPC::PlatformFileForTransit GetPwgForProcess() {
|
| DCHECK(pwg_file_.IsValid());
|
| IPC::PlatformFileForTransit transit =
|
| - IPC::TakeFileHandleForProcess(std::move(pwg_file_), process);
|
| + IPC::TakePlatformFileForTransit(std::move(pwg_file_));
|
| return transit;
|
| }
|
|
|
| @@ -196,12 +196,9 @@ void PwgUtilityProcessHostClient::OnProcessStarted() {
|
| return;
|
| }
|
|
|
| - base::ProcessHandle process = utility_process_host_->GetData().handle;
|
| utility_process_host_->Send(new ChromeUtilityMsg_RenderPDFPagesToPWGRaster(
|
| - files_->GetPdfForProcess(process),
|
| - settings_,
|
| - bitmap_settings_,
|
| - files_->GetPwgForProcess(process)));
|
| + files_->GetPdfForProcess(), settings_, bitmap_settings_,
|
| + files_->GetPwgForProcess()));
|
| utility_process_host_.reset();
|
| }
|
|
|
|
|