Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 7da06bb

Browse files
jason-simmonsharryterkelsen
authored andcommitted
Do not call DrawTextBlob for performance overlay text when using Impeller (#46307)
1 parent 7b83cb8 commit 7da06bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/layers/performance_overlay_layer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ void VisualizeStopWatch(DlCanvas* canvas,
5757
if (impeller_enabled) {
5858
canvas->DrawTextFrame(impeller::MakeTextFrameFromTextBlobSkia(text),
5959
x + label_x, y + height + label_y, paint);
60+
return;
6061
}
6162
#endif // IMPELLER_SUPPORTS_RENDERING
6263
canvas->DrawTextBlob(text, x + label_x, y + height + label_y, paint);
63-
return;
6464
}
6565
}
6666

0 commit comments

Comments
 (0)