Index: pkg/analysis_server/lib/src/services/correction/assist.dart |
diff --git a/pkg/analysis_server/lib/src/services/correction/assist.dart b/pkg/analysis_server/lib/src/services/correction/assist.dart |
index a63a4722471881c8eb8510e04211700a33bd5317..e9a688e7f340156a038fdfc8807ed6abcbb93c4e 100644 |
--- a/pkg/analysis_server/lib/src/services/correction/assist.dart |
+++ b/pkg/analysis_server/lib/src/services/correction/assist.dart |
@@ -6,7 +6,6 @@ library services.correction.assist; |
import 'package:analysis_server/src/protocol.dart'; |
import 'package:analysis_server/src/services/correction/assist_internal.dart'; |
-import 'package:analysis_server/src/services/search/search_engine.dart'; |
import 'package:analyzer/src/generated/ast.dart'; |
import 'package:analyzer/src/generated/source.dart'; |
@@ -16,12 +15,11 @@ import 'package:analyzer/src/generated/source.dart'; |
* |
* Returns the computed [Assist]s, not `null`. |
*/ |
-List<Assist> computeAssists(SearchEngine searchEngine, CompilationUnit unit, |
- int offset, int length) { |
+List<Assist> computeAssists(CompilationUnit unit, int offset, int length) { |
Source source = unit.element.source; |
String file = source.fullName; |
AssistProcessor processor = |
- new AssistProcessor(searchEngine, source, file, unit, offset, length); |
+ new AssistProcessor(source, file, unit, offset, length); |
return processor.compute(); |
} |