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

Unified Diff: bin/library_size_split.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/print_summary.dart ('k') | bin/live_code_size_analysis.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/library_size_split.dart
diff --git a/bin/library_size_split.dart b/bin/library_size_split.dart
index 62280858725e3b9afda00abb3ab923d1da49f2fa..8dd419aa8bd665014bee82ea538a0d4b682f14ae 100644
--- a/bin/library_size_split.dart
+++ b/bin/library_size_split.dart
@@ -75,7 +75,7 @@ main(args) {
var filename = args[0];
var json = JSON.decode(new File(filename).readAsStringSync());
- var info = new AllInfo.fromJson(json);
+ var info = new AllInfoJsonCodec().decode(json);
var groupingText =
args.length > 1 ? new File(args[1]).readAsStringSync() : defaultGrouping;
« no previous file with comments | « bin/inference/print_summary.dart ('k') | bin/live_code_size_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698