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

Unified Diff: net/base/crl_set.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: net/base/crl_set.cc
diff --git a/net/base/crl_set.cc b/net/base/crl_set.cc
index 76d6bc36235e7c9021a1ad5c823b4742fa40fc1c..2e424e5e34750dcdf938564abc841a6dde7f1117 100644
--- a/net/base/crl_set.cc
+++ b/net/base/crl_set.cc
@@ -138,7 +138,7 @@ static base::DictionaryValue* ReadHeader(base::StringPiece* data) {
data->remove_prefix(header_len);
scoped_ptr<Value> header(base::JSONReader::Read(
- header_bytes.as_string(), true /* allow trailing comma */));
+ header_bytes.as_string(), base::JSON_ALLOW_TRAILING_COMMAS));
if (header.get() == NULL)
return NULL;

Powered by Google App Engine
This is Rietveld 408576698