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