Index: chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc |
diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc b/chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc |
index 22976865c1f13535f2f71eb8f67fcd70c8f98974..3b62003d6d65c853ff5e8ee70fee0bf930891698 100644 |
--- a/chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc |
+++ b/chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc |
@@ -4,6 +4,8 @@ |
#include "chrome/browser/extensions/api/messaging/native_process_launcher.h" |
+#include <utility> |
+ |
#include "base/command_line.h" |
#include "base/files/file_util.h" |
#include "base/files/scoped_file.h" |
@@ -91,7 +93,7 @@ bool NativeProcessLauncher::LaunchNativeProcess( |
write_pipe_read_fd.reset(); |
read_pipe_write_fd.reset(); |
- *process = local_process.Pass(); |
+ *process = std::move(local_process); |
*read_file = base::File(read_pipe_read_fd.release()); |
*write_file = base::File(write_pipe_write_fd.release()); |