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

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

Issue 1120006: detect preferences errors (Closed)
Patch Set: changes from review Created 10 years, 9 months 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
diff --git a/chrome/installer/util/master_preferences.cc b/chrome/installer/util/master_preferences.cc
index 3406e3318cebcb866208a35ae43e50f1bf1a8cfc..e78872eab8e8a5a0cf5c4798dea5d5ab46db174c 100644
--- a/chrome/installer/util/master_preferences.cc
+++ b/chrome/installer/util/master_preferences.cc
@@ -169,7 +169,7 @@ DictionaryValue* ParseDistributionPreferences(
return NULL;
JSONStringValueSerializer json(json_data);
- scoped_ptr<Value> root(json.Deserialize(NULL));
+ scoped_ptr<Value> root(json.Deserialize(NULL, NULL));
if (!root.get())
return NULL;

Powered by Google App Engine
This is Rietveld 408576698