Index: pkg/analyzer_cli/lib/src/perf_report.dart |
diff --git a/pkg/analyzer_cli/lib/src/perf_report.dart b/pkg/analyzer_cli/lib/src/perf_report.dart |
index 452b2ff300d52693dacb904a6a302740b8aca2b9..60acdf1cc3e738cedeb53e56cfcaa80be071437e 100644 |
--- a/pkg/analyzer_cli/lib/src/perf_report.dart |
+++ b/pkg/analyzer_cli/lib/src/perf_report.dart |
@@ -66,7 +66,7 @@ String makePerfReport(int startTime, int endTime, CommandLineOptions options, |
// Convert performance tags to JSON representation. |
var perfTagsJson = <String, dynamic>{}; |
for (PerformanceTag tag in PerformanceTag.all) { |
- if (tag != PerformanceTag.UNKNOWN) { |
+ if (tag != PerformanceTag.unknown) { |
int tagTime = tag.elapsedMs; |
perfTagsJson[tag.label] = tagTime; |
otherTime -= tagTime; |