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

Unified Diff: content/app/content_main_runner.cc

Issue 1544293002: Convert Pass()→std::move() in //content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | content/child/background_sync/background_sync_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 20850180e5fb35c0c95eca7e71e77aaefaec911e..a686b029de1a41453fa96fb2fbb3f3ff5c1a3def 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 @@ int RunZygote(const MainFunctionParams& main_function_params,
}
// 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();
« no previous file with comments | « no previous file | content/child/background_sync/background_sync_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698