| Index: chrome/common/pref_service.cc
|
| ===================================================================
|
| --- chrome/common/pref_service.cc (revision 6390)
|
| +++ chrome/common/pref_service.cc (working copy)
|
| @@ -137,7 +137,7 @@
|
|
|
| JSONFileValueSerializer serializer(file_path);
|
| Value* root = NULL;
|
| - if (serializer.Deserialize(&root)) {
|
| + if (serializer.Deserialize(&root, NULL)) {
|
| // Preferences should always have a dictionary root.
|
| if (!root->IsType(Value::TYPE_DICTIONARY)) {
|
| delete root;
|
| @@ -156,7 +156,7 @@
|
|
|
| JSONFileValueSerializer serializer(pref_filename_);
|
| Value* root;
|
| - if (serializer.Deserialize(&root)) {
|
| + if (serializer.Deserialize(&root, NULL)) {
|
| // Preferences should always have a dictionary root.
|
| if (!root->IsType(Value::TYPE_DICTIONARY)) {
|
| delete root;
|
|
|