summaryrefslogtreecommitdiffstats
path: root/view/nsViewManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/nsViewManager.cpp')
-rw-r--r--view/nsViewManager.cpp4
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();