Index: pkg/analysis_server/lib/src/domain_analysis.dart |
diff --git a/pkg/analysis_server/lib/src/domain_analysis.dart b/pkg/analysis_server/lib/src/domain_analysis.dart |
index 0c8d28bdfee458962cb94deac5d08ff5f5864e38..7bfb354da317db0d990d6a035c6117f66f987fed 100644 |
--- a/pkg/analysis_server/lib/src/domain_analysis.dart |
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart |
@@ -110,7 +110,7 @@ class AnalysisDomainHandler implements RequestHandler { |
Response getLibraryDependencies(Request request) { |
server.onAnalysisComplete.then((_) { |
LibraryDependencyCollector collector = |
- new LibraryDependencyCollector(server.getAnalysisContexts()); |
+ new LibraryDependencyCollector(server.analysisContexts); |
Set<String> libraries = collector.collectLibraryDependencies(); |
Map<String, Map<String, List<String>>> packageMap = |
collector.calculatePackageMap(server.folderMap); |
@@ -378,7 +378,7 @@ class AnalysisDomainImpl implements AnalysisDomain { |
.putIfAbsent(descriptor, |
() => new StreamController<engine.ComputedResult>.broadcast()) |
.stream; |
- server.getAnalysisContexts().forEach(_subscribeForContext); |
+ server.analysisContexts.forEach(_subscribeForContext); |
return stream; |
} |