[Impeller] libImpeller: Fix typo in public API. (flutter/engine#55750)

cc @lyceel
This commit is contained in:
Chinmay Garde
2024-10-08 13:50:13 -07:00
committed by GitHub
parent 7af6ae84e6
commit 50366d309d
4 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -27,7 +27,7 @@ Scalar Paragraph::GetMinIntrinsicWidth() const {
return paragraph_->GetMinIntrinsicWidth();
}
Scalar Paragraph::GetMaxInstrinsicWidth() const {
Scalar Paragraph::GetMaxIntrinsicWidth() const {
return paragraph_->GetMaxIntrinsicWidth();
}

View File

@@ -31,7 +31,7 @@ class Paragraph final
Scalar GetMinIntrinsicWidth() const;
Scalar GetMaxInstrinsicWidth() const;
Scalar GetMaxIntrinsicWidth() const;
Scalar GetIdeographicBaseline() const;