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

Unified Diff: base/test/trace_event_analyzer.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: base/test/trace_event_analyzer.cc
diff --git a/base/test/trace_event_analyzer.cc b/base/test/trace_event_analyzer.cc
index ac4968c95b45eb4654395403973ea12987703a64..c0d9fae4be6ed04ad93b2c57601ee6ae73929834 100644
--- a/base/test/trace_event_analyzer.cc
+++ b/base/test/trace_event_analyzer.cc
@@ -644,7 +644,7 @@ size_t FindMatchingEvents(const std::vector<TraceEvent>& events,
bool ParseEventsFromJson(const std::string& json,
std::vector<TraceEvent>* output) {
scoped_ptr<base::Value> root;
- root.reset(base::JSONReader::Read(json, false));
+ root.reset(base::JSONReader::Read(json));
ListValue* root_list = NULL;
if (!root.get() || !root->GetAsList(&root_list))

Powered by Google App Engine
This is Rietveld 408576698