Closed Bug 1504531 Opened 6 years ago Closed 6 years ago

Using forwarding references in MozPromiseHolder

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: jya, Assigned: jya)

References

Details

Attachments

(2 files)

MozPromiseHolder explicitly use const lvalue or rvalue.

MozPromiseHolder being a convenience class to manage a MozPromisePrivate it could use forward references as MozPromisePrivate methods are using forward references too.
Blocks: 1504643
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d52d219bbf6b
P1. Use forward references in MozPromiseHolder. r=gerald
https://hg.mozilla.org/integration/autoland/rev/9bc3707f8ae4
P2. Add MozPromiseHolder::ResolveOrReject methods. r=gerald
https://hg.mozilla.org/mozilla-central/rev/d52d219bbf6b
https://hg.mozilla.org/mozilla-central/rev/9bc3707f8ae4
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: