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

Unified Diff: chrome/browser/ui/app_list/app_list_service_impl.cc

Issue 1550053002: Convert Pass()→std::move() in //chrome/browser/ui (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/ui/app_list/app_list_service_impl.cc
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.cc b/chrome/browser/ui/app_list/app_list_service_impl.cc
index 8111ed0e6dcb0c556029f8e75ff6c26cfa55132f..edd50463ccb7ecb9e166ed8e9125a5e8ea3be41d 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.cc
+++ b/chrome/browser/ui/app_list/app_list_service_impl.cc
@@ -6,8 +6,8 @@
#include <stddef.h>
#include <stdint.h>
-
#include <string>
+#include <utility>
#include "base/bind.h"
#include "base/command_line.h"
@@ -281,7 +281,7 @@ AppListServiceImpl::AppListServiceImpl()
AppListServiceImpl::AppListServiceImpl(const base::CommandLine& command_line,
PrefService* local_state,
scoped_ptr<ProfileStore> profile_store)
- : profile_store_(profile_store.Pass()),
+ : profile_store_(std::move(profile_store)),
command_line_(command_line),
local_state_(local_state),
profile_loader_(new ProfileLoader(profile_store_.get())),
« no previous file with comments | « chrome/browser/ui/app_list/app_list_prefs_factory.cc ('k') | chrome/browser/ui/app_list/app_list_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698