Index: pkg/analysis_server/lib/src/operation/operation_analysis.dart |
diff --git a/pkg/analysis_server/lib/src/operation/operation_analysis.dart b/pkg/analysis_server/lib/src/operation/operation_analysis.dart |
index 0270b273feaa026bfc24a120f4c48bc9e7e953cf..c17f399bd20198447817e9b514335cecb85f8194 100644 |
--- a/pkg/analysis_server/lib/src/operation/operation_analysis.dart |
+++ b/pkg/analysis_server/lib/src/operation/operation_analysis.dart |
@@ -411,7 +411,7 @@ class _DartIndexOperation extends _SingleFileOperation { |
ServerPerformanceStatistics.indexOperation.makeCurrentWhile(() { |
try { |
Index index = server.index; |
- index.indexUnit(context, unit); |
+ index.index(context, unit); |
} catch (exception, stackTrace) { |
server.sendServerErrorNotification(exception, stackTrace); |
} |
@@ -469,7 +469,7 @@ class _HtmlIndexOperation extends _SingleFileOperation { |
@override |
void perform(AnalysisServer server) { |
Index index = server.index; |
- index.indexHtmlUnit(context, unit); |
+ index.index(context, unit); |
} |
} |