Closed Bug 1494127 Opened 2 years ago Closed 2 years ago

Fix trivial calls to do_QueryInterface that return an nsresult

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(1 file)

This is similar to bug 1493737, but for the variant of do_QueryInterface that returns an nsresult. I split this into a separate bug because the patch for the other one was becoming unwieldy.
Priority: -- → P3
Calls to do_QueryInterface to a base class can be replaced by a static
cast, which is faster.
Depends on: 1494765
Comment on attachment 9013016 [details]
Bug 1494127 - Fix trivial calls to do_QueryInterface that return an nsresult

Olli Pettay [:smaug] (r- if the bug doesn't explain what the change(s) are about.) has approved the revision.
Attachment #9013016 - Flags: review+
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/07184f24860b
Fix trivial calls to do_QueryInterface that return an nsresult r=smaug
https://hg.mozilla.org/mozilla-central/rev/07184f24860b
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.