Index: pkg/analysis_server/lib/src/analysis_server.dart |
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart |
index 4aea8bae27f48d0a47bd5dee5316da4219858374..76dc86ef7adf628b593284565a8e8df61d16c5ff 100644 |
--- a/pkg/analysis_server/lib/src/analysis_server.dart |
+++ b/pkg/analysis_server/lib/src/analysis_server.dart |
@@ -975,7 +975,7 @@ class AnalysisServer { |
sendAnalysisNotificationNavigation(this, context, source); |
break; |
case AnalysisService.OCCURRENCES: |
- sendAnalysisNotificationOccurrences(this, file, dartUnit); |
+ sendAnalysisNotificationOccurrences(this, context, source); |
break; |
case AnalysisService.OUTLINE: |
AnalysisContext context = dartUnit.element.context; |