Closed
Bug 7283
Opened 26 years ago
Closed 26 years ago
Oddity in EventQueueEntry definition/declaration
Categories
(Core :: XPCOM, defect, P2)
Core
XPCOM
Tracking
()
VERIFIED
INVALID
M7
People
(Reporter: bruce, Assigned: dp)
Details
In xpcom/threads/nsEventQueueService.cpp there is this:
/* nsISupports interface implementation... */
NS_IMPL_ISUPPORTS(EventQueueEntry,nsISupports::GetIID());
(depending on when look, it might be using kISupportsIID instead of
nsISupports::GetIID(). Either way, why is this implementing a QueryInterface
for nsISupports rather than one for EventQueueEntry?
Reporter | ||
Comment 1•26 years ago
|
||
Btw, the reason I might have changed the kISupportsIID to nsISupports::GetIID()
is that I'm working on removing the kISupportsIID static declaration from the
default implementation of QueryInterface, and this made an error with
kISupportsIID not being defined here. (Just an FYI on the change.)
Assignee | ||
Updated•26 years ago
|
Severity: normal → major
Status: NEW → ASSIGNED
Priority: P3 → P2
Target Milestone: M7
Assignee | ||
Comment 2•26 years ago
|
||
Good point. Will fix it.
Assignee | ||
Comment 3•26 years ago
|
||
Well nsISupports is right as it is using nsISupport not to implement an
interface but to do refcounting. Interesting...
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 4•26 years ago
|
||
Okay, then I will go and apply the patch that I have on #7284 to change this to
nsISupports::GetIID() when the rest of the patches get applied. Thanks!
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•26 years ago
|
||
Verified Invalid
You need to log in
before you can comment on or make changes to this bug.
Description
•