Closed Bug 1293603 Opened 8 years ago Closed 8 years ago

Fix up a bunch of NS_IMETHOD declarations

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(3 files)

Some more NS_IMETHOD/NS_IMETHODIMP/NS_METHOD cleanups as precursors to bug 1292440.
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
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)
Attachment #8779275 - Flags: review?(erahm) → review+
Attachment #8779276 - Flags: review?(erahm) → review+
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)
Attachment #8779557 - Flags: review?(erahm) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: