Remove unnecessary null checks in dev/devicelab (#118842)
This commit is contained in:
committed by
GitHub
parent
f291eb3495
commit
ab3c82244e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user