diff --git a/engine/src/flutter/impeller/toolkit/interop/impeller.cc b/engine/src/flutter/impeller/toolkit/interop/impeller.cc index 050782b543..9f0863d29f 100644 --- a/engine/src/flutter/impeller/toolkit/interop/impeller.cc +++ b/engine/src/flutter/impeller/toolkit/interop/impeller.cc @@ -1047,13 +1047,13 @@ float ImpellerParagraphGetLongestLineWidth(ImpellerParagraph paragraph) { } IMPELLER_EXTERN_C -float ImpellerParagraphGetMinInstrinsicWidth(ImpellerParagraph paragraph) { +float ImpellerParagraphGetMinIntrinsicWidth(ImpellerParagraph paragraph) { return GetPeer(paragraph)->GetMinIntrinsicWidth(); } IMPELLER_EXTERN_C -float ImpellerParagraphGetMaxInstrinsicWidth(ImpellerParagraph paragraph) { - return GetPeer(paragraph)->GetMaxInstrinsicWidth(); +float ImpellerParagraphGetMaxIntrinsicWidth(ImpellerParagraph paragraph) { + return GetPeer(paragraph)->GetMaxIntrinsicWidth(); } IMPELLER_EXTERN_C diff --git a/engine/src/flutter/impeller/toolkit/interop/impeller.h b/engine/src/flutter/impeller/toolkit/interop/impeller.h index 3a503aea2a..d946b7f3f2 100644 --- a/engine/src/flutter/impeller/toolkit/interop/impeller.h +++ b/engine/src/flutter/impeller/toolkit/interop/impeller.h @@ -966,11 +966,11 @@ float ImpellerParagraphGetLongestLineWidth( ImpellerParagraph IMPELLER_NONNULL paragraph); IMPELLER_EXPORT -float ImpellerParagraphGetMinInstrinsicWidth( +float ImpellerParagraphGetMinIntrinsicWidth( ImpellerParagraph IMPELLER_NONNULL paragraph); IMPELLER_EXPORT -float ImpellerParagraphGetMaxInstrinsicWidth( +float ImpellerParagraphGetMaxIntrinsicWidth( ImpellerParagraph IMPELLER_NONNULL paragraph); IMPELLER_EXPORT diff --git a/engine/src/flutter/impeller/toolkit/interop/paragraph.cc b/engine/src/flutter/impeller/toolkit/interop/paragraph.cc index 6fe2846e52..fa06b6bf57 100644 --- a/engine/src/flutter/impeller/toolkit/interop/paragraph.cc +++ b/engine/src/flutter/impeller/toolkit/interop/paragraph.cc @@ -27,7 +27,7 @@ Scalar Paragraph::GetMinIntrinsicWidth() const { return paragraph_->GetMinIntrinsicWidth(); } -Scalar Paragraph::GetMaxInstrinsicWidth() const { +Scalar Paragraph::GetMaxIntrinsicWidth() const { return paragraph_->GetMaxIntrinsicWidth(); } diff --git a/engine/src/flutter/impeller/toolkit/interop/paragraph.h b/engine/src/flutter/impeller/toolkit/interop/paragraph.h index de3bd6349c..9a60fe721f 100644 --- a/engine/src/flutter/impeller/toolkit/interop/paragraph.h +++ b/engine/src/flutter/impeller/toolkit/interop/paragraph.h @@ -31,7 +31,7 @@ class Paragraph final Scalar GetMinIntrinsicWidth() const; - Scalar GetMaxInstrinsicWidth() const; + Scalar GetMaxIntrinsicWidth() const; Scalar GetIdeographicBaseline() const;