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

Unified Diff: tracing/bin/valueset2html

Issue 2528113003: Revert of Convert chart-json to Histograms. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « tracing/bin/results2json ('k') | tracing/tracing/results2_template.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/bin/valueset2html
diff --git a/tracing/bin/valueset2html b/tracing/bin/valueset2html
index 0166c877af9325c4da46b2fc8f2596e9cfd62e86..2e950ba392c742ec5bb3044f5da9808f01ac75d5 100755
--- a/tracing/bin/valueset2html
+++ b/tracing/bin/valueset2html
@@ -35,7 +35,7 @@
for html_path in args.html:
histograms.extend(results_renderer.ReadExistingResults(
- open(html_path, 'r').read()))
+ open(html_path, 'r')))
for json_path in args.json:
histograms.extend(json.load(open(json_path, 'r')))
« no previous file with comments | « tracing/bin/results2json ('k') | tracing/tracing/results2_template.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698