Bug 1789034 - Rename ShrinkWidthToFit to ShrinkISizeToFit. r=emilio

This method already works in logical coordinates. We should name it correctly.

Differential Revision: https://phabricator.services.mozilla.com/D156356
This commit is contained in:
Ting-Yu Lin
2022-09-05 03:46:47 +00:00
parent 9efe8015ed
commit 3dabeb94e6
5 changed files with 6 additions and 6 deletions

View File

@@ -1466,7 +1466,7 @@ nscoord nsTableFrame::TableShrinkISizeToFit(gfxContext* aRenderingContext,
// Tables shrink inline-size to fit with a slightly different algorithm
// from the one they use for their intrinsic isize (the difference
// relates to handling of percentage isizes on columns). So this
// function differs from nsIFrame::ShrinkWidthToFit by only the
// function differs from nsIFrame::ShrinkISizeToFit by only the
// following line.
// Since we've already called GetMinISize, we don't need to do any
// of the other stuff GetPrefISize does.