Closed
Bug 1293603
Opened 8 years ago
Closed 8 years ago
Fix up a bunch of NS_IMETHOD declarations
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
Attachments
(3 files)
3.49 KB,
patch
|
erahm
:
review+
|
Details | Diff | Splinter Review |
255.33 KB,
patch
|
erahm
:
review+
|
Details | Diff | Splinter Review |
21.33 KB,
patch
|
erahm
:
review+
|
Details | Diff | Splinter Review |
Some more NS_IMETHOD/NS_IMETHODIMP/NS_METHOD cleanups as precursors to bug 1292440.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8779275 -
Flags: review?(erahm)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•8 years ago
|
||
This patch makes all Run() declarations in subclasses of nsIRunnable have the same form: |NS_IMETHOD Run() override|. As a result of these changes, I had to add |override| to a couple of other functions to satisfy clang's -Winconsistent-missing-override warning.
Attachment #8779276 -
Flags: review?(erahm)
Updated•8 years ago
|
Attachment #8779275 -
Flags: review?(erahm) → review+
Updated•8 years ago
|
Attachment #8779276 -
Flags: review?(erahm) → review+
Assignee | ||
Comment 3•8 years ago
|
||
All these occurrences are for methods declared with NS_IMETHOD, and so they should be NS_IMETHODIMP instead of NS_METHOD.
Attachment #8779557 -
Flags: review?(erahm)
Updated•8 years ago
|
Attachment #8779557 -
Flags: review?(erahm) → review+
Assignee | ||
Comment 4•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4417b2d37bc5b768181b792daccb56c3d29a5d11 Bug 1293603 (part 1) - Add |override| to CollectReports() declarations missing it. r=erahm. https://hg.mozilla.org/integration/mozilla-inbound/rev/b09d90288666fb3afb11877fc45527b904ef23db Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. https://hg.mozilla.org/integration/mozilla-inbound/rev/3660839b76ee6d25836b4c3456103d8e7afe053b Bug 1293603 (part 3) - Remove erroneous NS_METHOD uses in widget/. r=erahm.
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4417b2d37bc5 https://hg.mozilla.org/mozilla-central/rev/b09d90288666 https://hg.mozilla.org/mozilla-central/rev/3660839b76ee
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•