mozilla::ipc::IPCResult GPUParent::RecvRemoveLayerTreeIdMapping(const LayerTreeIdMapping& aMapping) { LayerTreeOwnerTracker::Get()->Unmap(aMapping.layersId(), aMapping.ownerId()); CompositorBridgeParent::DeallocateLayerTreeId(aMapping.layersId()); return IPC_OK(); }
mozilla::ipc::IPCResult GPUParent::RecvAddLayerTreeIdMapping(const LayerTreeIdMapping& aMapping) { LayerTreeOwnerTracker::Get()->Map(aMapping.layersId(), aMapping.ownerId()); return IPC_OK(); }