mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
6c77e5ee0c
There are scenarios where we have a TabParent in the UI process hooked up to a PuppetWidget with a BasicLayerManager. Webextensions fall into this category. In this scenario, the parent-side layer manager is not hooked up to the compositor (that is, there is no entry in the CompositorBridge layer tree state map for the layers id). However, the content-side still ends up creating a ClientLayerManager or a WebRenderLayerManager, which expects the layers id to be registered in the compositor. This results in brokenness (in the case of the ClientLayerManager/PLayerTransaction) or crashes (in the case of WebRenderLayerManager/ PWebRenderBridge). Instead, this patch changes this scenario to have the content process use a BasicLayerManager which seems safer. MozReview-Commit-ID: 3f80aZrRrmD --HG-- extra : rebase_source : 10ec78dd7daf1c1c889929f0d79e0b75675b4b05 |
||
---|---|---|
.. | ||
moz.build | ||
PRenderFrame.ipdl | ||
PVsync.ipdl | ||
RenderFrameChild.cpp | ||
RenderFrameChild.h | ||
RenderFrameParent.cpp | ||
RenderFrameParent.h | ||
VsyncChild.cpp | ||
VsyncChild.h | ||
VsyncParent.cpp | ||
VsyncParent.h |