diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /view/nsViewManager.cpp | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'view/nsViewManager.cpp')
-rw-r--r-- | view/nsViewManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/nsViewManager.cpp b/view/nsViewManager.cpp index edc05230db..dd2f6c77cf 100644 --- a/view/nsViewManager.cpp +++ b/view/nsViewManager.cpp @@ -455,6 +455,7 @@ void nsViewManager::PostPendingUpdate() { nsViewManager* rootVM = RootViewManager(); rootVM->mHasPendingWidgetGeometryChanges = true; if (rootVM->mPresShell) { + rootVM->mPresShell->SetNeedLayoutFlush(); rootVM->mPresShell->ScheduleViewManagerFlush(); } } @@ -789,8 +790,7 @@ void nsViewManager::MoveViewTo(nsView* aView, nscoord aX, nscoord aY) { aView->SetPosition(aX, aY); } -void nsViewManager::ResizeView(nsView* aView, const nsRect& aRect, - bool aRepaintExposedAreaOnly) { +void nsViewManager::ResizeView(nsView* aView, const nsRect& aRect) { NS_ASSERTION(aView->GetViewManager() == this, "wrong view manager"); nsRect oldDimensions = aView->GetDimensions(); |