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

Unified Diff: pkg/analysis_server/lib/src/operation/operation_analysis.dart

Issue 1359113002: Use IndexContributor(s) in LocalIndex. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « pkg/analysis_server/lib/plugin/index.dart ('k') | pkg/analysis_server/lib/src/plugin/server_plugin.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « pkg/analysis_server/lib/plugin/index.dart ('k') | pkg/analysis_server/lib/src/plugin/server_plugin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698