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

Unified Diff: pkg/analysis_server/lib/src/domain_analysis.dart

Issue 1750683002: Move folderMap from AnalysisContext to ContextManager (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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: 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;
}

Powered by Google App Engine
This is Rietveld 408576698