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

Unified Diff: pkg/analysis_server/lib/src/domain_execution.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_execution.dart
diff --git a/pkg/analysis_server/lib/src/domain_execution.dart b/pkg/analysis_server/lib/src/domain_execution.dart
index 3988de2826f925eb384263c18da6f2513aaa7cb0..49541527090e6de11cd8d78c2bb7b93c9148ca40 100644
--- a/pkg/analysis_server/lib/src/domain_execution.dart
+++ b/pkg/analysis_server/lib/src/domain_execution.dart
@@ -195,7 +195,7 @@ class ExecutionDomainHandler implements RequestHandler {
server.contextManager.isInAnalysisRoot(filePath);
void _reportCurrentFileStatus() {
- for (AnalysisContext context in server.getAnalysisContexts()) {
+ for (AnalysisContext context in server.analysisContexts) {
List<Source> librarySources = context.librarySources;
List<Source> clientSources = context.launchableClientLibrarySources;
List<Source> serverSources = context.launchableServerLibrarySources;
@@ -220,7 +220,8 @@ class ExecutionDomainHandler implements RequestHandler {
List<Source> libraries =
context.getLibrariesReferencedFromHtml(source);
server.sendNotification(new ExecutionLaunchDataParams(filePath,
- referencedFiles: _getFullNames(libraries)).toNotification());
+ referencedFiles: _getFullNames(libraries))
+ .toNotification());
}
}
}

Powered by Google App Engine
This is Rietveld 408576698