mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
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:
parent
ffc0294ebf
commit
1ecec0ba4f
@ -17,6 +17,8 @@ MODULE_NAME = nsViewModule
|
||||
GRE_MODULE = 1
|
||||
LIBXUL_LIBRARY = 1
|
||||
|
||||
DEFINES += -D_IMPL_NS_LAYOUT
|
||||
|
||||
CPPSRCS = \
|
||||
nsView.cpp \
|
||||
nsViewManager.cpp \
|
||||
|
@ -1309,6 +1309,7 @@ nsViewManager::ProcessPendingUpdates()
|
||||
return;
|
||||
}
|
||||
|
||||
mPresShell->GetPresContext()->RefreshDriver()->RevokeViewManagerFlush();
|
||||
ProcessPendingUpdatesForView(mRootView, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user