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

Unified Diff: tools/gn/setup.cc

Issue 1544333002: Convert Pass()→std::move() in //tools (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 | « tools/gn/scope.cc ('k') | tools/gn/string_utils_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/setup.cc
diff --git a/tools/gn/setup.cc b/tools/gn/setup.cc
index 87339ca420f22d63845c03f76ae829866248b0ab..774d877691e58ba8cfac76df38e2a4ceae92b9c3 100644
--- a/tools/gn/setup.cc
+++ b/tools/gn/setup.cc
@@ -5,9 +5,9 @@
#include "tools/gn/setup.h"
#include <stdlib.h>
-
#include <algorithm>
#include <sstream>
+#include <utility>
#include "base/bind.h"
#include "base/command_line.h"
@@ -652,7 +652,7 @@ bool Setup::FillOtherConfig(const base::CommandLine& cmdline) {
return false;
}
}
- build_settings_.set_exec_script_whitelist(whitelist.Pass());
+ build_settings_.set_exec_script_whitelist(std::move(whitelist));
}
return true;
« no previous file with comments | « tools/gn/scope.cc ('k') | tools/gn/string_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698