Remove unnecessary null checks in dev/devicelab (#118842)

This commit is contained in:
Michael Goderbauer
2023-01-20 10:56:44 -08:00
committed by GitHub
parent f291eb3495
commit ab3c82244e
9 changed files with 12 additions and 74 deletions

View File

@@ -304,12 +304,6 @@ class BlinkTraceSummary {
orElse: () => throw noMeasuredFramesFound(),
);
if (firstMeasuredFrameEvent == null) {
// This happens in benchmarks that do not measure frames, such as some
// of the text layout benchmarks.
return null;
}
final int tabPid = firstMeasuredFrameEvent.pid!;
// Filter out data from unrelated processes