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