Bug 1350638 - Remove the GetCompositorOptions IPC message as it is no longer used. r=dvander

MozReview-Commit-ID: 18uiWGA9eJy
This commit is contained in:
Kartikaya Gupta
2017-04-09 17:31:59 -04:00
parent 60180cd488
commit 8ae357970e
6 changed files with 0 additions and 45 deletions

View File

@@ -112,25 +112,6 @@ CrossProcessCompositorBridgeParent::DeallocPLayerTransactionParent(PLayerTransac
return true;
}
mozilla::ipc::IPCResult
CrossProcessCompositorBridgeParent::RecvGetCompositorOptions(const uint64_t& aLayersId,
CompositorOptions* aOptions)
{
// Check to see if this child process has access to this layer tree.
if (!LayerTreeOwnerTracker::Get()->IsMapped(aLayersId, OtherPid())) {
NS_ERROR("Unexpected layers id in RecvGetCompositorOptions; dropping message...");
return IPC_FAIL_NO_REASON(this);
}
MonitorAutoLock lock(*sIndirectLayerTreesLock);
CompositorBridgeParent::LayerTreeState& state = sIndirectLayerTrees[aLayersId];
if (state.mParent) {
*aOptions = state.mParent->GetOptions();
}
return IPC_OK();
}
PAPZCTreeManagerParent*
CrossProcessCompositorBridgeParent::AllocPAPZCTreeManagerParent(const uint64_t& aLayersId)
{