Index: base/prefs/pref_value_store.cc |
diff --git a/base/prefs/pref_value_store.cc b/base/prefs/pref_value_store.cc |
index 1ebcb725fe315c1792b3a0105561c54196a88cf4..f3742c4261207cd09e7e331340116a05b27b9713 100644 |
--- a/base/prefs/pref_value_store.cc |
+++ b/base/prefs/pref_value_store.cc |
@@ -269,7 +269,7 @@ void PrefValueStore::CheckInitializationCompleted() { |
for (size_t i = 0; i <= PREF_STORE_TYPE_MAX; ++i) { |
scoped_refptr<PrefStore> store = |
GetPrefStore(static_cast<PrefStoreType>(i)); |
- if (store && !store->IsInitializationComplete()) |
+ if (store.get() && !store->IsInitializationComplete()) |
return; |
} |
pref_notifier_->OnInitializationCompleted(true); |