Index: pkg/analyzer/test/src/summary/resynthesize_ast_test.dart |
diff --git a/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart b/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart |
index 62a5bea0131c9b24dc1a064499c9471d2b09ec37..cb6cfeb2ec1f3383c446e0e09543cfc5583efae2 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart |
@@ -20,7 +20,6 @@ import 'package:analyzer/src/summary/summarize_ast.dart'; |
import 'package:analyzer/src/summary/summarize_elements.dart' |
show PackageBundleAssembler; |
import 'package:analyzer/task/dart.dart' show PARSED_UNIT; |
-import 'package:analyzer/task/general.dart'; |
import 'package:unittest/unittest.dart'; |
import '../../reflective_tests.dart'; |
@@ -792,9 +791,7 @@ abstract class _AstResynthesizeTestMixin { |
} |
return uriToUnit.putIfAbsent(uriStr, () { |
CompilationUnit unit = context.computeResult(source, PARSED_UNIT); |
- LineInfo lineInfo = context.computeResult(source, LINE_INFO); |
- UnlinkedUnitBuilder unlinkedUnit = |
- serializeAstUnlinked(unit, lineInfo.lineStarts); |
+ UnlinkedUnitBuilder unlinkedUnit = serializeAstUnlinked(unit); |
bundleAssembler.addUnlinkedUnit(source, unlinkedUnit); |
return unlinkedUnit; |
}); |