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

Unified Diff: components/version_ui/version_handler_helper.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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
Index: components/version_ui/version_handler_helper.cc
diff --git a/components/version_ui/version_handler_helper.cc b/components/version_ui/version_handler_helper.cc
index 2a9c2a1c1e13dad4c77079059a9124fde519a405..6d049a7504bdf6a7eacd6f2462791573a63f9ad0 100644
--- a/components/version_ui/version_handler_helper.cc
+++ b/components/version_ui/version_handler_helper.cc
@@ -4,6 +4,7 @@
#include "components/version_ui/version_handler_helper.h"
+#include <utility>
#include <vector>
#include "base/metrics/field_trial.h"
@@ -38,7 +39,7 @@ scoped_ptr<base::Value> GetVariationsList() {
variations_list->Append(new base::StringValue(*it));
}
- return variations_list.Pass();
+ return std::move(variations_list);
}
} // namespace version_ui
« no previous file with comments | « components/variations/variations_seed_processor_unittest.cc ('k') | components/visitedlink/browser/visitedlink_master.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698