Closed
Bug 230970
Opened 21 years ago
Closed 21 years ago
nsExternalAppHandler needs no virtual functions
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.7alpha
People
(Reporter: Biesinger, Assigned: Biesinger)
Details
Attachments
(1 file)
3.30 KB,
patch
|
bzbarsky
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
This class does not have any subclasses. The functions need not be virtual.
Assignee | ||
Comment 1•21 years ago
|
||
nsExternalProtocolHandler also does not need its virtual dtor
nsExternalHelperAppService does need it, because it implements ::Release and
does have nsOSHelperAppService as subclass, whose destructor should be called.
Assignee | ||
Updated•21 years ago
|
Attachment #139108 -
Flags: review?(bz-vacation)
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.7alpha
![]() |
||
Comment 2•21 years ago
|
||
Comment on attachment 139108 [details] [diff] [review]
patch
r=bzbarsky
Attachment #139108 -
Flags: review?(bz-vacation) → review+
Assignee | ||
Comment 3•21 years ago
|
||
Comment on attachment 139108 [details] [diff] [review]
patch
I just realized...
nsExternalProtocolHandler is a subclass of nsSupportsWeakReference, so it needs
a virtual dtor (and probably gets one anyway); so I won't check the change to
nsExternalProtocolHandler in
Attachment #139108 -
Flags: superreview?(darin)
Assignee | ||
Comment 4•21 years ago
|
||
err, nevermind comment 3. it doesn't need a virtual destructor anyway. it will
only get deleted through its own Release impl.
Comment 5•21 years ago
|
||
Comment on attachment 139108 [details] [diff] [review]
patch
sr=darin
this non-virtual dtor thing should be used in more places.
Attachment #139108 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Comment 6•21 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•