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

Unified Diff: bin/code_deps.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 | « README.md ('k') | bin/debug_info.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/code_deps.dart
diff --git a/bin/code_deps.dart b/bin/code_deps.dart
index 4395526c6af5dc372ac7fc2bf3236690c1950bb8..9899e8d3553dcde4e533dc1c451ebc67c09e9573 100644
--- a/bin/code_deps.dart
+++ b/bin/code_deps.dart
@@ -49,7 +49,7 @@ main(args) {
print('error: could not read ${args[0]}');
exit(1);
}
- var info = new AllInfo.fromJson(json);
+ var info = new AllInfoJsonCodec().decode(json);
var graph = graphFromInfo(info);
var queryName = args[1];
« no previous file with comments | « README.md ('k') | bin/debug_info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698