зеркало из https://github.com/mozilla/pjs.git
Make sure to not reenter painting while the mRecursiveRefreshPending flag is
still set. Bug 278811, r+sr=roc
This commit is contained in:
Родитель
9381f49b94
Коммит
cdc589d7c1
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче