Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6733)

Unified Diff: chrome/installer/util/master_preferences.cc

Issue 13169: Add error messages to JSONReader and friends. This required a bit of refactor... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/util/master_preferences.cc
===================================================================
--- chrome/installer/util/master_preferences.cc (revision 6390)
+++ chrome/installer/util/master_preferences.cc (working copy)
@@ -13,7 +13,7 @@
DictionaryValue* ReadJSONPrefs(const std::string& data) {
JSONStringValueSerializer json(data);
Value* root;
- if (!json.Deserialize(&root))
+ if (!json.Deserialize(&root, NULL))
return NULL;
if (!root->IsType(Value::TYPE_DICTIONARY)) {
delete root;

Powered by Google App Engine
This is Rietveld 408576698