зеркало из https://github.com/mozilla/gecko-dev.git
2ee83dd552
The event regions override flags are needed whenever APZ is doing hit-testing off the layer tree. This can happen even if IsBuildingLayerEventRegions() returns false, because we can instead be building nsDisplayCompositorHitTestInfo items from which we populate the layer tree's EventRegions objects. So the guard condition here is wrong, and we can just remove it to ensure the flags are always put on the layer tree. If APZ isn't enabled on this layer tree then they won't be used, and there might be a slight perf hit, but it should be negligible. Differential Revision: https://phabricator.services.mozilla.com/D1599 |
||
---|---|---|
.. | ||
PRenderFrame.ipdl | ||
PVsync.ipdl | ||
RenderFrameChild.cpp | ||
RenderFrameChild.h | ||
RenderFrameParent.cpp | ||
RenderFrameParent.h | ||
VsyncChild.cpp | ||
VsyncChild.h | ||
VsyncParent.cpp | ||
VsyncParent.h | ||
moz.build |