Convert Pass()→std::move() in //content
BUG=557422
[email protected]
Review URL: https://codereview.chromium.org/1544293002
Cr-Commit-Position: refs/heads/master@{#366905}
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 2085018..a686b02 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -7,8 +7,8 @@
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
-
#include <string>
+#include <utility>
#include "base/allocator/allocator_extension.h"
#include "base/at_exit.h"
@@ -286,7 +286,7 @@
}
// This function call can return multiple times, once per fork().
- if (!ZygoteMain(main_function_params, zygote_fork_delegates.Pass()))
+ if (!ZygoteMain(main_function_params, std::move(zygote_fork_delegates)))
return 1;
if (delegate) delegate->ZygoteForked();