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 7640b55cc4
commit 49b278ed35

View File

@ -786,6 +786,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();