From a16c447abcb695b4ca907d59e66dc87f4f7178d3 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Tue, 18 Feb 2025 11:05:10 -0800 Subject: [PATCH] [Impeller] Don't create a redundant typography context. (#163513) This was a typo that caused a typography context to be created, its validity checked, but the context not actually used. Instead returning a new one. No change in functionality. --- engine/src/flutter/impeller/toolkit/interop/impeller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/impeller/toolkit/interop/impeller.cc b/engine/src/flutter/impeller/toolkit/interop/impeller.cc index aa335b29de..95d61e3217 100644 --- a/engine/src/flutter/impeller/toolkit/interop/impeller.cc +++ b/engine/src/flutter/impeller/toolkit/interop/impeller.cc @@ -1264,7 +1264,7 @@ ImpellerTypographyContext ImpellerTypographyContextNew() { VALIDATION_LOG << "Could not create typography context."; return nullptr; } - return Create().Leak(); + return context.Leak(); } IMPELLER_EXTERN_C