summaryrefslogtreecommitdiffstats
path: root/layout/base
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
parenta53a2a3a38d03721b19768480dbdb0bccb4616d9 (diff)
downloadUXP-b6b868b1bda0d82b85647f3e9ff2ab1f788eeb46.tar
UXP-b6b868b1bda0d82b85647f3e9ff2ab1f788eeb46.tar.gz
UXP-b6b868b1bda0d82b85647f3e9ff2ab1f788eeb46.tar.lz
UXP-b6b868b1bda0d82b85647f3e9ff2ab1f788eeb46.tar.xz
UXP-b6b868b1bda0d82b85647f3e9ff2ab1f788eeb46.zip
Issue #1643 - Part 4: Hook up all the plumbing.
Diffstat (limited to 'layout/base')
-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 e8670ff3b..de3dc1a25 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);
}