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

Unified Diff: components/user_prefs/tracked/segregated_pref_store_unittest.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/user_prefs/tracked/segregated_pref_store_unittest.cc
diff --git a/components/user_prefs/tracked/segregated_pref_store_unittest.cc b/components/user_prefs/tracked/segregated_pref_store_unittest.cc
index dc458a5582c44b72fdc92a70bd76e03183c18eb8..1986758c1f3315afb095218eb93b4806bc602c21 100644
--- a/components/user_prefs/tracked/segregated_pref_store_unittest.cc
+++ b/components/user_prefs/tracked/segregated_pref_store_unittest.cc
@@ -6,6 +6,7 @@
#include <set>
#include <string>
+#include <utility>
#include "base/bind.h"
#include "base/callback.h"
@@ -80,7 +81,7 @@ class SegregatedPrefStoreTest : public testing::Test {
protected:
scoped_ptr<PersistentPrefStore::ReadErrorDelegate> GetReadErrorDelegate() {
EXPECT_TRUE(read_error_delegate_);
- return read_error_delegate_.Pass();
+ return std::move(read_error_delegate_);
}
PrefStoreObserverMock observer_;
« no previous file with comments | « components/user_prefs/tracked/segregated_pref_store.cc ('k') | components/user_prefs/tracked/tracked_preferences_migration.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698