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; } }