Bug 1843847. Clear nsDisplayListBuilder::mCurrentContainerASR at the end of a paint. r=mstange, a=dsmith

Differential Revision: https://phabricator.services.mozilla.com/D183741
This commit is contained in:
Timothy Nikkel 2023-07-18 04:52:27 +00:00
parent 1799329451
commit 0c32ce59ea

View File

@ -790,6 +790,7 @@ void nsDisplayListBuilder::AddEffectUpdate(dom::RemoteBrowser* aBrowser,
void nsDisplayListBuilder::EndFrame() {
NS_ASSERTION(!mInInvalidSubtree,
"Someone forgot to cleanup mInInvalidSubtree!");
mCurrentContainerASR = nullptr;
mActiveScrolledRoots.Clear();
mEffectsUpdates.Clear();
FreeClipChains();