mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1306211 - Add sanity check to CompositorBridgeChild::SendAllPluginsCaptured() r=nical
This commit is contained in:
parent
14d32a0990
commit
f973293243
@ -843,6 +843,15 @@ CompositorBridgeChild::SendNotifyApproximatelyVisibleRegion(const ScrollableLaye
|
||||
return PCompositorBridgeChild::SendNotifyApproximatelyVisibleRegion(aGuid, aRegion);
|
||||
}
|
||||
|
||||
bool
|
||||
CompositorBridgeChild::SendAllPluginsCaptured()
|
||||
{
|
||||
if (!mCanSend) {
|
||||
return false;
|
||||
}
|
||||
return PCompositorBridgeChild::SendAllPluginsCaptured();
|
||||
}
|
||||
|
||||
PTextureChild*
|
||||
CompositorBridgeChild::AllocPTextureChild(const SurfaceDescriptor&,
|
||||
const LayersBackend&,
|
||||
|
@ -165,6 +165,7 @@ public:
|
||||
bool SendClearApproximatelyVisibleRegions(uint64_t aLayersId, uint32_t aPresShellId);
|
||||
bool SendNotifyApproximatelyVisibleRegion(const ScrollableLayerGuid& aGuid,
|
||||
const mozilla::CSSIntRegion& aRegion);
|
||||
bool SendAllPluginsCaptured();
|
||||
bool IsSameProcess() const override;
|
||||
|
||||
virtual bool IPCOpen() const override { return mCanSend; }
|
||||
|
Loading…
Reference in New Issue
Block a user