Index: base/prefs/json_pref_store_unittest.cc |
diff --git a/base/prefs/json_pref_store_unittest.cc b/base/prefs/json_pref_store_unittest.cc |
index 437f337532efbc95632a6dcdf0a85fe962a65052..45bf895076b90bd73c82e9b8a51cc9da61305e8c 100644 |
--- a/base/prefs/json_pref_store_unittest.cc |
+++ b/base/prefs/json_pref_store_unittest.cc |
@@ -388,7 +388,7 @@ TEST_F(JsonPrefStoreTest, ReadWithInterceptor) { |
scoped_refptr<JsonPrefStore> pref_store = |
new JsonPrefStore(input_file, |
message_loop_.message_loop_proxy().get(), |
- intercepting_pref_filter.PassAs<PrefFilter>()); |
+ intercepting_pref_filter.Pass()); |
ASSERT_EQ(PersistentPrefStore::PREF_READ_ERROR_ASYNCHRONOUS_TASK_INCOMPLETE, |
pref_store->ReadPrefs()); |
@@ -435,7 +435,7 @@ TEST_F(JsonPrefStoreTest, ReadAsyncWithInterceptor) { |
scoped_refptr<JsonPrefStore> pref_store = |
new JsonPrefStore(input_file, |
message_loop_.message_loop_proxy().get(), |
- intercepting_pref_filter.PassAs<PrefFilter>()); |
+ intercepting_pref_filter.Pass()); |
MockPrefStoreObserver mock_observer; |
pref_store->AddObserver(&mock_observer); |