Closed
Bug 1137175
Opened 9 years ago
Closed 9 years ago
tighten up public interface of MiscContainer
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: froydnj, Assigned: froydnj)
Details
Attachments
(1 file)
2.51 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
MiscContainer declares that it HasDangerousPublicDestructor. This declaration is accurate, but unnecessary, as MiscContainer doesn't use any of the nsISupports machinery that checks HasDangerousPublicDestructor. So HasDangerousPublicDestructor is a nice bit of documentation, but completely unused; let's remove it. MiscContainer having a public destructor is a bit of a footgun, though. Let's protect MiscContainer's destructor and make nsAttrValue a friend class, since nsAttrValue is what controls the lifetime of MiscContainer objects.
Comment on attachment 8569840 [details] [diff] [review] tighten up public interface of MiscContainer Review of attachment 8569840 [details] [diff] [review]: ----------------------------------------------------------------- lovely
Attachment #8569840 -
Flags: review?(khuey) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/26c29e931f79
Flags: in-testsuite-
https://hg.mozilla.org/mozilla-central/rev/26c29e931f79
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•