Bug 1490611 - physical to logical name refactor: DISPLAY_*_WIDTH to DISPLAY_*_INLINE_SIZE(as well as the relevant struct in the macro contents) r=jfkthame

Differential Revision: https://phabricator.services.mozilla.com/D5657
This commit is contained in:
Zhang Junzhi
2018-09-12 12:35:47 +00:00
parent f4b4c1fea5
commit 53f2fa9f5a
37 changed files with 91 additions and 89 deletions

View File

@@ -321,7 +321,7 @@ nsTableWrapperFrame::GetMinISize(gfxContext *aRenderingContext)
{
nscoord iSize = nsLayoutUtils::IntrinsicForContainer(aRenderingContext,
InnerTableFrame(), nsLayoutUtils::MIN_ISIZE);
DISPLAY_MIN_WIDTH(this, iSize);
DISPLAY_MIN_INLINE_SIZE(this, iSize);
if (mCaptionFrames.NotEmpty()) {
nscoord capISize =
nsLayoutUtils::IntrinsicForContainer(aRenderingContext,
@@ -342,7 +342,7 @@ nsTableWrapperFrame::GetMinISize(gfxContext *aRenderingContext)
nsTableWrapperFrame::GetPrefISize(gfxContext *aRenderingContext)
{
nscoord maxISize;
DISPLAY_PREF_WIDTH(this, maxISize);
DISPLAY_PREF_INLINE_SIZE(this, maxISize);
maxISize = nsLayoutUtils::IntrinsicForContainer(aRenderingContext,
InnerTableFrame(), nsLayoutUtils::PREF_ISIZE);