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

Unified Diff: chrome/browser/first_run/first_run.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (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
Index: chrome/browser/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index 4d43f8368e8153a038667bc34355d4474d2cdaf4..c46651ae9e3214018b26872e7679af91542baaa6 100644
--- a/chrome/browser/first_run/first_run.cc
+++ b/chrome/browser/first_run/first_run.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/first_run/first_run.h"
#include <algorithm>
+#include <utility>
#include "base/command_line.h"
#include "base/compiler_specific.h"
@@ -797,7 +798,7 @@ void AutoImport(
importer::LogImporterUseToMetrics(
"AutoImport", importer_list->GetSourceProfileAt(0).importer_type);
- ImportSettings(profile, importer_host, importer_list.Pass(), items);
+ ImportSettings(profile, importer_host, std::move(importer_list), items);
}
if (!import_bookmarks_path.empty()) {

Powered by Google App Engine
This is Rietveld 408576698