Closed
Bug 168760
Opened 23 years ago
Closed 13 years ago
NS_DECL_ISUPPORTS_INHERITED need only override QueryInterface
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
INCOMPLETE
Future
People
(Reporter: darin.moz, Unassigned)
References
()
Details
(Keywords: helpwanted)
it seems like most consumers of NS_DECL_ISUPPORTS_INHERITED should only override
QueryInterface. what's the use of reimplementing AddRef and Release as calls to
the Super class's AddRef and Release. why not just leave out the extra function
calls?
Comment 1•23 years ago
|
||
Well, clearly this should be an option. Maybe the origanal authoer wanted to
allow the inherited class to do special addref/release functionality.
This is a low hanging fruit to rid ourselves of two extra vtable entries in
layout/content.
Any takers?
-> future.
Keywords: helpwanted
Target Milestone: --- → Future
Updated•20 years ago
|
Assignee: dougt → nobody
QA Contact: scc → xpcom
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•