Closed
Bug 640978
Opened 13 years ago
Closed 13 years ago
Various clean-ups to nsIRadioVisitor and its children
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla5
People
(Reporter: mounir, Assigned: mounir)
References
Details
Attachments
(1 file)
11.98 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
Mostly changing: NS_IMETHOD Visitor(nsIFormControl*, PRBool*) to: NS_IMETHOD_(bool) Visitor(nsIFormControl*) Some s/PRBool/bool/ and maybe one or two random changes.
Attachment #518724 -
Flags: review?(peterv)
Assignee | ||
Comment 1•13 years ago
|
||
I wonder if I can actually use NS_IMETHOD_(bool). Let me know if I should use NS_IMETHOD_(PRBool) instead.
Assignee | ||
Updated•13 years ago
|
Whiteboard: [needs review]
Comment 2•13 years ago
|
||
Comment on attachment 518724 [details] [diff] [review] Patch v1 Why do we need |NS_IMETHOD_(bool)| instead of just |virtual bool|?
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to comment #2) > Comment on attachment 518724 [details] [diff] [review] > Patch v1 > > Why do we need |NS_IMETHOD_(bool)| instead of just |virtual bool|? I thought we need to use NS_IMETHOD for public methods in interfaces given that it is adding some things in addition of 'virtual' for some platforms. Am I wrong? BTW, I should probably change bool to PRBool here. I've heard I shouldn't use that on interface's public methods.
Comment 4•13 years ago
|
||
Comment on attachment 518724 [details] [diff] [review] Patch v1 Just change NS_IMETHOD_(bool) to |virtual PRBool|.
Attachment #518724 -
Flags: review?(peterv) → review+
Assignee | ||
Updated•13 years ago
|
Whiteboard: [needs review] → [ready to land][waits for dependencies]
Assignee | ||
Comment 5•13 years ago
|
||
Pushed: http://hg.mozilla.org/mozilla-central/rev/9d462cbed60f
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Whiteboard: [ready to land][waits for dependencies]
Target Milestone: --- → mozilla2.2
You need to log in
before you can comment on or make changes to this bug.
Description
•