From 0a1d8d7ffd8d1460def13af2c9edf77a4614db04 Mon Sep 17 00:00:00 2001 From: "kmcclusk%netscape.com" Date: Wed, 16 Apr 2003 02:01:12 +0000 Subject: [PATCH] Prevent status bar from painting synchronously to prevent flicker. b=129844 r=jkeiser sr=kin git-svn-id: svn://10.0.0.236/trunk@141224 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsPresShell.cpp | 2 +- mozilla/layout/html/base/src/nsPresShell.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/base/nsPresShell.cpp b/mozilla/layout/base/nsPresShell.cpp index 76eb5e46a0a..ffc91bccd77 100644 --- a/mozilla/layout/base/nsPresShell.cpp +++ b/mozilla/layout/base/nsPresShell.cpp @@ -5171,7 +5171,7 @@ PresShell::FlushPendingNotifications(PRBool aUpdateViews) ProcessReflowCommands(PR_FALSE); if (aUpdateViews && mViewManager) { - mViewManager->EndUpdateViewBatch(NS_VMREFRESH_IMMEDIATE); + mViewManager->EndUpdateViewBatch(NS_VMREFRESH_NO_SYNC); } } diff --git a/mozilla/layout/html/base/src/nsPresShell.cpp b/mozilla/layout/html/base/src/nsPresShell.cpp index 76eb5e46a0a..ffc91bccd77 100644 --- a/mozilla/layout/html/base/src/nsPresShell.cpp +++ b/mozilla/layout/html/base/src/nsPresShell.cpp @@ -5171,7 +5171,7 @@ PresShell::FlushPendingNotifications(PRBool aUpdateViews) ProcessReflowCommands(PR_FALSE); if (aUpdateViews && mViewManager) { - mViewManager->EndUpdateViewBatch(NS_VMREFRESH_IMMEDIATE); + mViewManager->EndUpdateViewBatch(NS_VMREFRESH_NO_SYNC); } }