Backed out changeset a5037670cb10 (bug 1343754)

This commit is contained in:
Sebastian Hengst 2017-05-03 12:58:29 +02:00
parent 14e60e7e57
commit bc111f528d

View File

@ -337,17 +337,6 @@ CompositorBridgeChild::AllocPLayerTransactionChild(const nsTArray<LayersBackend>
{
LayerTransactionChild* c = new LayerTransactionChild(aId);
c->AddIPDLReference();
TabChild* tabChild = TabChild::GetFrom(c->GetId());
// Do the DOM Labeling.
if (tabChild) {
nsCOMPtr<nsIEventTarget> target =
tabChild->TabGroup()->EventTargetFor(TaskCategory::Other);
SetEventTargetForActor(c, target);
MOZ_ASSERT(c->GetActorEventTarget());
}
return c;
}