From fdfb1a54e814e08c7926b16b802989b874d9bfca Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Tue, 26 Sep 2023 16:15:23 -0700 Subject: [PATCH] Do not call DrawTextBlob for performance overlay text when using Impeller --- flow/layers/performance_overlay_layer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/layers/performance_overlay_layer.cc b/flow/layers/performance_overlay_layer.cc index 1d83281372ee1..55d056476f029 100644 --- a/flow/layers/performance_overlay_layer.cc +++ b/flow/layers/performance_overlay_layer.cc @@ -57,10 +57,10 @@ void VisualizeStopWatch(DlCanvas* canvas, if (impeller_enabled) { canvas->DrawTextFrame(impeller::MakeTextFrameFromTextBlobSkia(text), x + label_x, y + height + label_y, paint); + return; } #endif // IMPELLER_SUPPORTS_RENDERING canvas->DrawTextBlob(text, x + label_x, y + height + label_y, paint); - return; } }