summaryrefslogtreecommitdiffstats
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-21 11:04:31 +0000
commit075fa012868017c9cb49f1b92960bf02f4bf27ca (patch)
treebce03e7900f790b896f889c24a51814a4ade828d /layout/base/nsPresShell.cpp
parent32e0d2ca2369d4ee0658affde0e96bdf0f84455a (diff)
downloadUXP-075fa012868017c9cb49f1b92960bf02f4bf27ca.tar
UXP-075fa012868017c9cb49f1b92960bf02f4bf27ca.tar.gz
UXP-075fa012868017c9cb49f1b92960bf02f4bf27ca.tar.lz
UXP-075fa012868017c9cb49f1b92960bf02f4bf27ca.tar.xz
UXP-075fa012868017c9cb49f1b92960bf02f4bf27ca.zip
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 63f512af4..0544a69a4 100644
--- a/layout/base/nsPresShell.cpp
+++ b/layout/base/nsPresShell.cpp
@@ -9090,6 +9090,11 @@ PresShell::DidDoReflow(bool aInterruptible)
docShell->NotifyReflowObservers(aInterruptible, mLastReflowStart, now);
}
+ // Notify resize observers on reflow.
+ if (!mPresContext->HasPendingInterrupt()) {
+ mDocument->ScheduleResizeObserversNotification();
+ }
+
if (sSynthMouseMove) {
SynthesizeMouseMove(false);
}