Closed
Bug 1512214
Opened 7 years ago
Closed 7 years ago
Chain promises rather than passing raw pointers.
Categories
(Core :: Spelling checker, enhancement)
Core
Spelling checker
Tracking
()
RESOLVED
FIXED
mozilla66
| Tracking | Status | |
|---|---|---|
| firefox66 | --- | fixed |
People
(Reporter: jya, Assigned: jya)
References
Details
Attachments
(1 file)
While searching for implementation example of IPDL MozPromise I stumbled upon some scary use of promises like:
https://searchfox.org/mozilla-central/rev/3fdc51e66c9487b39220ad58dcee275fca070ccd/extensions/spellcheck/hunspell/glue/RemoteSpellCheckEngineChild.cpp#23
Promises can simply be chained here, no need for using raw pointers to MozPromiseHolder
| Assignee | ||
Comment 1•7 years ago
|
||
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a126bd4f1ae9
Use promise chaining. r=m_kato
Comment 3•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in
before you can comment on or make changes to this bug.
Description
•