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); } }