mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
b7ecd3eb49
commit
8baa378892
@ -17,6 +17,8 @@ MODULE_NAME = nsViewModule
|
||||
GRE_MODULE = 1
|
||||
LIBXUL_LIBRARY = 1
|
||||
|
||||
DEFINES += -D_IMPL_NS_LAYOUT
|
||||
|
||||
CPPSRCS = \
|
||||
nsView.cpp \
|
||||
nsViewManager.cpp \
|
||||
|
@ -1310,6 +1310,7 @@ nsViewManager::ProcessPendingUpdates()
|
||||
return;
|
||||
}
|
||||
|
||||
mPresShell->GetPresContext()->RefreshDriver()->RevokeViewManagerFlush();
|
||||
ProcessPendingUpdatesForView(mRootView, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user