Closed
Bug 1441217
Opened 6 years ago
Closed 6 years ago
Use nsXPTMethodInfo instead of XPTMethodDescriptor in XPConnect
Categories
(Core :: XPConnect, enhancement)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(1 file)
nsXPTMethodInfo is a higher-level version of XPTMethodDescriptor. XPConnect uses the latter for no reason that is clear to me, so this patch switches it to use the former. At the same time, I convert it to use the high-level accessor methods of nsXPTMethodInfo. We could likely merge these classes, but for bug 1438688 I want to separate them a bit more, where nsXPTMethodInfo becomes a slightly larger structure used on stack to access method info, while XPTMethodDescriptor is a heap structure that requires extra data to use.
Comment hidden (mozreview-request) |
Comment 2•6 years ago
|
||
mozreview-review |
Comment on attachment 8954077 [details] Bug 1441217 - Use nsXPTMethodInfo instead of XPTMethodDescriptor in XPConnect. https://reviewboard.mozilla.org/r/223232/#review229406 I like how a lot of the XPCMethodDescriptor parameters were already called `info`.
Attachment #8954077 -
Flags: review?(n.nethercote) → review+
Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0921ebb25262 Use nsXPTMethodInfo instead of XPTMethodDescriptor in XPConnect. r=njn
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0921ebb25262
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•