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

Unified Diff: bin/live_code_size_analysis.dart

Issue 1411523003: add a JsonInfoCodec class (Closed) Base URL: git@github.com:dart-lang/dart2js_info.git@master
Patch Set: make accept dynamic 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
Index: bin/live_code_size_analysis.dart
diff --git a/bin/live_code_size_analysis.dart b/bin/live_code_size_analysis.dart
index def29d55ce099d45ab1a3563793f49cccf4a1b1f..365aa9a4f5771b433948dd5753fb65621b23c5aa 100644
--- a/bin/live_code_size_analysis.dart
+++ b/bin/live_code_size_analysis.dart
@@ -49,7 +49,7 @@ main(args) {
}
var json = JSON.decode(new File(args[0]).readAsStringSync());
- var info = new AllInfo.fromJson(json);
+ var info = new JsonInfoCodec().decode(json);
var coverage = JSON.decode(new File(args[1]).readAsStringSync());
var verbose = args.length > 2 && args[2] == '-v';
« no previous file with comments | « bin/library_size_split.dart ('k') | bin/verify_deps.dart » ('j') | lib/info.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698