Make sure to not reenter painting while the mRecursiveRefreshPending flag is
still set. Bug 278811, r+sr=roc git-svn-id: svn://10.0.0.236/trunk@168831 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
da66b9903b
commit
83052a8538
@ -980,8 +980,10 @@ void nsViewManager::Refresh(nsView *aView, nsIRenderingContext *aContext,
|
||||
}
|
||||
|
||||
if (RootViewManager()->mRecursiveRefreshPending) {
|
||||
UpdateAllViews(aUpdateFlags);
|
||||
// Unset this flag first, since if aUpdateFlags includes NS_VMREFRESH_IMMEDIATE
|
||||
// we'll reenter this code from the UpdateAllViews call.
|
||||
RootViewManager()->mRecursiveRefreshPending = PR_FALSE;
|
||||
UpdateAllViews(aUpdateFlags);
|
||||
}
|
||||
|
||||
localcx->ReleaseBackbuffer();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user