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

Unified Diff: components/suggestions/suggestions_service.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
« no previous file with comments | « components/suggestions/image_manager.cc ('k') | components/suggestions/suggestions_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/suggestions/suggestions_service.cc
diff --git a/components/suggestions/suggestions_service.cc b/components/suggestions/suggestions_service.cc
index 7af3dddecc644855a653266ebef28fc337799d4e..f4c8e6171cd5b80f3a08cb5f71814e6bac6461fb 100644
--- a/components/suggestions/suggestions_service.cc
+++ b/components/suggestions/suggestions_service.cc
@@ -173,9 +173,9 @@ SuggestionsService::SuggestionsService(
scoped_ptr<ImageManager> thumbnail_manager,
scoped_ptr<BlacklistStore> blacklist_store)
: url_request_context_(url_request_context),
- suggestions_store_(suggestions_store.Pass()),
- thumbnail_manager_(thumbnail_manager.Pass()),
- blacklist_store_(blacklist_store.Pass()),
+ suggestions_store_(std::move(suggestions_store)),
+ thumbnail_manager_(std::move(thumbnail_manager)),
+ blacklist_store_(std::move(blacklist_store)),
scheduling_delay_(TimeDelta::FromSeconds(kDefaultSchedulingDelaySec)),
token_fetcher_(new AccessTokenFetcher(signin_manager, token_service)),
weak_ptr_factory_(this) {}
« no previous file with comments | « components/suggestions/image_manager.cc ('k') | components/suggestions/suggestions_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698