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

Unified Diff: components/suggestions/suggestions_store.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/suggestions/suggestions_store.cc
diff --git a/components/suggestions/suggestions_store.cc b/components/suggestions/suggestions_store.cc
index dff32110b0b8bf2f17ee3b07409ecc029ca69408..39dac6caa9ad1ef302d95c9cc05876661e7dd596 100644
--- a/components/suggestions/suggestions_store.cc
+++ b/components/suggestions/suggestions_store.cc
@@ -5,8 +5,8 @@
#include "components/suggestions/suggestions_store.h"
#include <stdint.h>
-
#include <string>
+#include <utility>
#include "base/base64.h"
#include "base/prefs/pref_service.h"
@@ -28,7 +28,7 @@ SuggestionsStore::SuggestionsStore() {
SuggestionsStore::~SuggestionsStore() {}
void SuggestionsStore::SetClockForTesting(scoped_ptr<base::Clock> test_clock) {
- this->clock_ = test_clock.Pass();
+ this->clock_ = std::move(test_clock);
}
bool SuggestionsStore::LoadSuggestions(SuggestionsProfile* suggestions) {
« no previous file with comments | « components/suggestions/suggestions_service_unittest.cc ('k') | components/sync_bookmarks/bookmark_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698