mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:27:03 +00:00
Bug 1570367 - Don't generate pure virtual unused AllocPFoo, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40066 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4a30691591
commit
0a2e2e5949
@ -3334,6 +3334,9 @@ class _GenerateProtocolActorCode(ipdl.ast.Visitor):
|
||||
actortype = md.actorDecl().bareType(self.side)
|
||||
|
||||
if managed.isRefcounted():
|
||||
if not self.receivesMessage(md):
|
||||
continue
|
||||
|
||||
actortype.ptr = False
|
||||
actortype = _alreadyaddrefed(actortype)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user