Index: components/user_prefs/tracked/pref_hash_filter_unittest.cc |
diff --git a/components/user_prefs/tracked/pref_hash_filter_unittest.cc b/components/user_prefs/tracked/pref_hash_filter_unittest.cc |
index dfd33248dec9ea3475fb24fa8bf4e8af07ba01c1..9eceefcb1a7a2e23f2ed78da495c3625463912dd 100644 |
--- a/components/user_prefs/tracked/pref_hash_filter_unittest.cc |
+++ b/components/user_prefs/tracked/pref_hash_filter_unittest.cc |
@@ -388,7 +388,7 @@ class PrefHashFilterTest |
new MockPrefHashStore); |
mock_pref_hash_store_ = temp_mock_pref_hash_store.get(); |
pref_hash_filter_.reset(new PrefHashFilter( |
- temp_mock_pref_hash_store.Pass(), configuration, |
+ std::move(temp_mock_pref_hash_store), configuration, |
base::Bind(&PrefHashFilterTest::RecordReset, base::Unretained(this)), |
&mock_validation_delegate_, arraysize(kTestTrackedPrefs), true)); |
} |
@@ -410,7 +410,7 @@ class PrefHashFilterTest |
pref_hash_filter_->FilterOnLoad( |
base::Bind(&PrefHashFilterTest::GetPrefsBack, base::Unretained(this), |
expect_prefs_modifications), |
- pref_store_contents_.Pass()); |
+ std::move(pref_store_contents_)); |
} |
MockPrefHashStore* mock_pref_hash_store_; |
@@ -424,7 +424,7 @@ class PrefHashFilterTest |
void GetPrefsBack(bool expected_schedule_write, |
scoped_ptr<base::DictionaryValue> prefs, |
bool schedule_write) { |
- pref_store_contents_ = prefs.Pass(); |
+ pref_store_contents_ = std::move(prefs); |
EXPECT_TRUE(pref_store_contents_); |
EXPECT_EQ(expected_schedule_write, schedule_write); |
} |