Index: chrome/browser/prefs/pref_value_store.cc |
diff --git a/chrome/browser/prefs/pref_value_store.cc b/chrome/browser/prefs/pref_value_store.cc |
index b023d8b3053e03a0e28304fe6b8fa504d4413be2..ec34d243a5abb6934a54d5998ee4dc7bc0a8f0bf 100644 |
--- a/chrome/browser/prefs/pref_value_store.cc |
+++ b/chrome/browser/prefs/pref_value_store.cc |
@@ -280,7 +280,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); |