| Index: chrome/common/json_pref_store.cc
|
| diff --git a/chrome/common/json_pref_store.cc b/chrome/common/json_pref_store.cc
|
| index f3bd776dce11acb11d5dda4a116f3ce9ae683929..c10de1b4a0bd42ee146ee96cf5f056c2dc05f103 100644
|
| --- a/chrome/common/json_pref_store.cc
|
| +++ b/chrome/common/json_pref_store.cc
|
| @@ -129,7 +129,7 @@ void FileThreadDeserializer::HandleErrors(
|
| file_util::Move(path, bad);
|
| break;
|
| }
|
| - } else if (!value->IsType(Value::TYPE_DICTIONARY)) {
|
| + } else if (!value->IsDictionary()) {
|
| *error = PersistentPrefStore::PREF_READ_ERROR_JSON_TYPE;
|
| }
|
| }
|
|
|