зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1854555 - Remove global constructor in layout/generic/StickyScrollContainer.cpp r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D188936
This commit is contained in:
Родитель
eb62860858
Коммит
310d041620
|
@ -142,9 +142,10 @@ void StickyScrollContainer::ComputeStickyOffsets(nsIFrame* aFrame) {
|
|||
}
|
||||
}
|
||||
|
||||
static nscoord gUnboundedNegative = nscoord_MIN / 2;
|
||||
static nscoord gUnboundedExtent = nscoord_MAX;
|
||||
static nscoord gUnboundedPositive = gUnboundedNegative + gUnboundedExtent;
|
||||
static constexpr nscoord gUnboundedNegative = nscoord_MIN / 2;
|
||||
static constexpr nscoord gUnboundedExtent = nscoord_MAX;
|
||||
static constexpr nscoord gUnboundedPositive =
|
||||
gUnboundedNegative + gUnboundedExtent;
|
||||
|
||||
void StickyScrollContainer::ComputeStickyLimits(nsIFrame* aFrame,
|
||||
nsRect* aStick,
|
||||
|
|
Загрузка…
Ссылка в новой задаче