Bug 539356 - Part 16 - Revoke any pending ViewManager flushes when we do one (sometimes we get this called from Will Paint events). r=roc

This commit is contained in:
Matt Woodrow 2012-06-11 16:45:39 +12:00
parent ffc0294ebf
commit 1ecec0ba4f
2 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,8 @@ MODULE_NAME = nsViewModule
GRE_MODULE = 1
LIBXUL_LIBRARY = 1
DEFINES += -D_IMPL_NS_LAYOUT
CPPSRCS = \
nsView.cpp \
nsViewManager.cpp \

View File

@ -1309,6 +1309,7 @@ nsViewManager::ProcessPendingUpdates()
return;
}
mPresShell->GetPresContext()->RefreshDriver()->RevokeViewManagerFlush();
ProcessPendingUpdatesForView(mRootView, true);
}