| 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 bc759f84802476c5218c21cd14f52f9caffeb8ff..e023a045f2e1a0ecad1fb0c84e4a21fdb3a9512d 100644
|
| --- a/chrome/browser/prefs/pref_value_store.cc
|
| +++ b/chrome/browser/prefs/pref_value_store.cc
|
| @@ -116,7 +116,7 @@ bool PrefValueStore::GetValue(const std::string& name,
|
| for (size_t i = 0; i <= PREF_STORE_TYPE_MAX; ++i) {
|
| if (GetValueFromStore(name.c_str(), static_cast<PrefStoreType>(i),
|
| out_value)) {
|
| - if (!(*out_value)->IsType(type)) {
|
| + if ((*out_value)->GetType() != type) {
|
| LOG(WARNING) << "Expected type for " << name << " is " << type
|
| << " but got " << (*out_value)->GetType()
|
| << " in store " << i;
|
|
|