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-30 15:06:12 +12:00
parent b7ecd3eb49
commit 8baa378892
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

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