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

Unified Diff: chrome/browser/chromeos/cros/network_parser.cc

Issue 9960077: Modify the base::JSONReader interface to take a set of options rather than a boolean flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 8 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/browser/chromeos/cros/network_parser.cc
diff --git a/chrome/browser/chromeos/cros/network_parser.cc b/chrome/browser/chromeos/cros/network_parser.cc
index 0bf606d92de6d1fbdef828968c1654a10534e96b..af41b124768ea946d44f61fc1ce60ce2e8452a86 100644
--- a/chrome/browser/chromeos/cros/network_parser.cc
+++ b/chrome/browser/chromeos/cros/network_parser.cc
@@ -217,7 +217,7 @@ bool NetworkParser::ParseValue(PropertyIndex index,
if (!value.GetAsString(&ui_data_json))
return false;
scoped_ptr<base::Value> ui_data_value(
- base::JSONReader::Read(ui_data_json, false));
+ base::JSONReader::Read(ui_data_json));
base::DictionaryValue* ui_data_dict = NULL;
if (!ui_data_value.get() ||
!ui_data_value->GetAsDictionary(&ui_data_dict))

Powered by Google App Engine
This is Rietveld 408576698