Backed out changeset 2fb0417cfd2f (bug 1959275) for causing wpt failures at pointerdown-add-overflow-hidden.html. CLOSED TREE

This commit is contained in:
Cristina Horotan
2025-04-16 21:49:30 +03:00
parent 32eaee26c4
commit 95088967b9
6 changed files with 21 additions and 108 deletions

View File

@@ -2249,6 +2249,9 @@ void PresShell::NotifyDestroyingFrame(nsIFrame* aFrame) {
}
}
EventStateManager* const esm = mPresContext->EventStateManager();
esm->NotifyDestroyingFrameForGesture(aFrame);
mFramesToDirty.Remove(aFrame);
if (ScrollContainerFrame* scrollContainerFrame = do_QueryFrame(aFrame)) {