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

Unified Diff: bin/debug_info.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/code_deps.dart ('k') | bin/function_size_analysis.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/debug_info.dart
diff --git a/bin/debug_info.dart b/bin/debug_info.dart
index b8c50252af5fad6ef59d115b04c914eeae8e6a66..1c34ccad63f953463e0690a813940be6ce5c3b10 100644
--- a/bin/debug_info.dart
+++ b/bin/debug_info.dart
@@ -21,7 +21,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 debugLibName;
if (args.length > 2 && args[1] == '--show-library') {
« no previous file with comments | « bin/code_deps.dart ('k') | bin/function_size_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698