Index: chrome/browser/local_discovery/pwg_raster_converter.cc |
diff --git a/chrome/browser/local_discovery/pwg_raster_converter.cc b/chrome/browser/local_discovery/pwg_raster_converter.cc |
index da56119c40f2e930dc07d48428f9c91e4c176dca..4c5b7a7abeefc9c34365439742312f61e076fe79 100644 |
--- a/chrome/browser/local_discovery/pwg_raster_converter.cc |
+++ b/chrome/browser/local_discovery/pwg_raster_converter.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/local_discovery/pwg_raster_converter.h" |
#include <algorithm> |
+#include <utility> |
#include "base/bind_helpers.h" |
#include "base/cancelable_callback.h" |
@@ -59,14 +60,14 @@ class FileHandlers { |
IPC::PlatformFileForTransit GetPdfForProcess(base::ProcessHandle process) { |
DCHECK(pdf_file_.IsValid()); |
IPC::PlatformFileForTransit transit = |
- IPC::TakeFileHandleForProcess(pdf_file_.Pass(), process); |
+ IPC::TakeFileHandleForProcess(std::move(pdf_file_), process); |
return transit; |
} |
IPC::PlatformFileForTransit GetPwgForProcess(base::ProcessHandle process) { |
DCHECK(pwg_file_.IsValid()); |
IPC::PlatformFileForTransit transit = |
- IPC::TakeFileHandleForProcess(pwg_file_.Pass(), process); |
+ IPC::TakeFileHandleForProcess(std::move(pwg_file_), process); |
return transit; |
} |