summaryrefslogtreecommitdiff
path: root/layout/base/nsPresShell.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-16 19:39:33 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-16 19:39:33 +0000
commitb6b868b1bda0d82b85647f3e9ff2ab1f788eeb46 (patch)
tree3ef85068d06334887dbe9a3656e26e1837d1114c /layout/base/nsPresShell.cpp
parenta53a2a3a38d03721b19768480dbdb0bccb4616d9 (diff)
downloaduxp-b6b868b1bda0d82b85647f3e9ff2ab1f788eeb46.tar.gz
Issue #1643 - Part 4: Hook up all the plumbing.
Diffstat (limited to 'layout/base/nsPresShell.cpp')
-rw-r--r--layout/base/nsPresShell.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/layout/base/nsPresShell.cpp b/layout/base/nsPresShell.cpp
index e8670ff3bf..de3dc1a256 100644
--- a/layout/base/nsPresShell.cpp
+++ b/layout/base/nsPresShell.cpp
@@ -9060,6 +9060,11 @@ PresShell::DidDoReflow(bool aInterruptible)
docShell->NotifyReflowObservers(aInterruptible, mLastReflowStart, now);
}
+ // Notify resize observers on reflow.
+ if (!mPresContext->HasPendingInterrupt()) {
+ mDocument->ScheduleResizeObserversNotification();
+ }
+
if (sSynthMouseMove) {
SynthesizeMouseMove(false);
}