mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Backed out changeset a5037670cb10 (bug 1343754)
This commit is contained in:
parent
14e60e7e57
commit
bc111f528d
@ -337,17 +337,6 @@ CompositorBridgeChild::AllocPLayerTransactionChild(const nsTArray<LayersBackend>
|
|||||||
{
|
{
|
||||||
LayerTransactionChild* c = new LayerTransactionChild(aId);
|
LayerTransactionChild* c = new LayerTransactionChild(aId);
|
||||||
c->AddIPDLReference();
|
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;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user