[Impeller] libImpeller: Fix typo in public API. (flutter/engine#55750)
cc @lyceel
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -27,7 +27,7 @@ Scalar Paragraph::GetMinIntrinsicWidth() const {
|
||||
return paragraph_->GetMinIntrinsicWidth();
|
||||
}
|
||||
|
||||
Scalar Paragraph::GetMaxInstrinsicWidth() const {
|
||||
Scalar Paragraph::GetMaxIntrinsicWidth() const {
|
||||
return paragraph_->GetMaxIntrinsicWidth();
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ class Paragraph final
|
||||
|
||||
Scalar GetMinIntrinsicWidth() const;
|
||||
|
||||
Scalar GetMaxInstrinsicWidth() const;
|
||||
Scalar GetMaxIntrinsicWidth() const;
|
||||
|
||||
Scalar GetIdeographicBaseline() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user