Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit ff13f9f

Browse files
committed
Bug 1583581: Make promise-based async senders generated by IPDL use std::move to pass its arguments to the callback-based sender; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D46968 --HG-- extra : moz-landing-system : lando
1 parent 9bbc3b3 commit ff13f9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ipc/ipdl/ipdl/lower.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4778,7 +4778,7 @@ def sendAsyncWithPromise(self, md):
47784778
''',
47794779
resolvetype=resolvetype)
47804780

4781-
args = [p.var() for p in md.params] + [resolve, reject]
4781+
args = [ExprMove(p.var()) for p in md.params] + [resolve, reject]
47824782
stmt = StmtCode(
47834783
'''
47844784
RefPtr<${promise}> promise__ = new ${promise}(__func__);

0 commit comments

Comments
 (0)