Index: chrome/browser/prefs/pref_hash_filter_unittest.cc |
diff --git a/chrome/browser/prefs/pref_hash_filter_unittest.cc b/chrome/browser/prefs/pref_hash_filter_unittest.cc |
index ea63a88ee718d0b2e9757ad6ab334af7cb305ede..e200d2f5bd3f6238b66e2195b486760a31564bd6 100644 |
--- a/chrome/browser/prefs/pref_hash_filter_unittest.cc |
+++ b/chrome/browser/prefs/pref_hash_filter_unittest.cc |
@@ -358,7 +358,7 @@ class PrefHashFilterTest |
pref_hash_filter_->FilterOnLoad( |
base::Bind(&PrefHashFilterTest::GetPrefsBack, base::Unretained(this), |
expect_prefs_modifications), |
- pref_store_contents_.Pass()); |
+ pref_store_contents_.get()); |
} |
MockPrefHashStore* mock_pref_hash_store_; |
@@ -368,13 +368,9 @@ class PrefHashFilterTest |
scoped_ptr<PrefHashFilter> pref_hash_filter_; |
private: |
- // Stores |prefs| back in |pref_store_contents| and ensure |
- // |expected_schedule_write| matches the reported |schedule_write|. |
+ // Ensures |expected_schedule_write| matches the reported |schedule_write|. |
void GetPrefsBack(bool expected_schedule_write, |
gab
2014/06/11 21:12:55
The name of this method doesn't make sense anymore
|
- scoped_ptr<base::DictionaryValue> prefs, |
bool schedule_write) { |
- pref_store_contents_ = prefs.Pass(); |
- EXPECT_TRUE(pref_store_contents_); |
EXPECT_EQ(expected_schedule_write, schedule_write); |
} |