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

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

Issue 1223413003: Hook for overriding the ContextManager and some code clean-up (with more to follow) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 1d9c2dd327a33e193a2d764c764cf6597eda03be..f0b6677b3cfd8ab5256e7bd385be18276f233a98 100644
--- a/pkg/analysis_server/lib/src/domain_execution.dart
+++ b/pkg/analysis_server/lib/src/domain_execution.dart
@@ -193,7 +193,7 @@ class ExecutionDomainHandler implements RequestHandler {
* analysis root.
*/
bool _isInAnalysisRoot(String filePath) =>
- server.contextDirectoryManager.isInAnalysisRoot(filePath);
+ server.contextManager.isInAnalysisRoot(filePath);
void _reportCurrentFileStatus() {
for (AnalysisContext context in server.getAnalysisContexts()) {

Powered by Google App Engine
This is Rietveld 408576698