diff options
author | Moonchild <moonchild@palemoon.org> | 2020-09-16 19:39:33 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-09-16 19:39:33 +0000 |
commit | b6b868b1bda0d82b85647f3e9ff2ab1f788eeb46 (patch) | |
tree | 3ef85068d06334887dbe9a3656e26e1837d1114c /layout/base/nsPresShell.cpp | |
parent | a53a2a3a38d03721b19768480dbdb0bccb4616d9 (diff) | |
download | uxp-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.cpp | 5 |
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); } |