SIGN IN SIGN UP

[cleanup] Rename IntrinsicLogicalHeightComputationScope to OrthogonalIntrinsicContributionLayoutScope

https://bugs.webkit.org/show_bug.cgi?id=326042
<rdar://problem/188970306>

Reviewed by Antti Koivisto.

IntrinsicLogicalHeightComputationScope marks an orthogonal box laid out only to give its container an intrinsic inline-size contribution, so its own percentage min/max-height follows the cyclic percentage rules.
Its name suggested a general intrinsic block-size measurement, the counterpart of an intrinsic width computation, which it is not.

* Source/WebCore/page/LocalFrameViewLayoutContext.cpp:
(WebCore::LocalFrameViewLayoutContext::addOrthogonalIntrinsicContributionLayout):
(WebCore::LocalFrameViewLayoutContext::removeOrthogonalIntrinsicContributionLayout):
(WebCore::LocalFrameViewLayoutContext::isInOrthogonalIntrinsicContributionLayout const):
(WebCore::LocalFrameViewLayoutContext::addIntrinsicLogicalHeightComputationFor): Deleted.
(WebCore::LocalFrameViewLayoutContext::removeIntrinsicLogicalHeightComputationFor): Deleted.
(WebCore::LocalFrameViewLayoutContext::isComputingIntrinsicLogicalHeightFor const): Deleted.
* Source/WebCore/page/LocalFrameViewLayoutContext.h:
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::computeLogicalHeight const):
(WebCore::RenderBox::computeIntrinsicLogicalHeight):
* Source/WebCore/rendering/RenderLayoutState.cpp:
(WebCore::OrthogonalIntrinsicContributionLayoutScope::OrthogonalIntrinsicContributionLayoutScope):
(WebCore::OrthogonalIntrinsicContributionLayoutScope::~OrthogonalIntrinsicContributionLayoutScope):
(WebCore::IntrinsicLogicalHeightComputationScope::IntrinsicLogicalHeightComputationScope): Deleted.
(WebCore::IntrinsicLogicalHeightComputationScope::~IntrinsicLogicalHeightComputationScope): Deleted.
* Source/WebCore/rendering/RenderLayoutState.h:

Canonical link: https://commits.webkit.org/322774@main
A
Alan Baradlay committed
d3908003b4f50e48e41b7805f2fbb01eb4668b00
Parent: c2a9486