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

Unified Diff: bin/inference/print_summary.dart

Issue 1411523003: add a JsonInfoCodec class (Closed) Base URL: git@github.com:dart-lang/dart2js_info.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « bin/inference/client.dart ('k') | bin/library_size_split.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/inference/print_summary.dart
diff --git a/bin/inference/print_summary.dart b/bin/inference/print_summary.dart
index c2926e0e0244f4384b5bb550c62b457052223d26..a0dbc0b1eeb2d1c82cd9a3e7652f69b81a663c12 100644
--- a/bin/inference/print_summary.dart
+++ b/bin/inference/print_summary.dart
@@ -13,7 +13,7 @@ import 'package:dart2js_info/src/table.dart';
main(args) {
var file = args.length > 0 ? args[0] : 'out.js.info.json';
var json = JSON.decode(new File(file).readAsStringSync());
- var results = new AllInfo.fromJson(json);
+ var results = new AllInfoJsonCodec().decode(json);
print(formatAsTable(results));
}
« no previous file with comments | « bin/inference/client.dart ('k') | bin/library_size_split.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698