Closed
Bug 904579
Opened 11 years ago
Closed 11 years ago
eliminate smart-pointer-related static constructors in widget/android/
Categories
(Core Graveyard :: Widget: Android, defect)
Core Graveyard
Widget: Android
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla26
People
(Reporter: froydnj, Unassigned)
Details
Attachments
(2 files)
2.03 KB,
patch
|
blassey
:
review+
|
Details | Diff | Splinter Review |
4.33 KB,
patch
|
blassey
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•11 years ago
|
||
We should be using nsRefPtrs...and since this is a static variable, we can use StaticRefPtr.
Attachment #789547 -
Flags: review?(blassey.bugs)
Reporter | ||
Comment 2•11 years ago
|
||
These don't require static constructors. They do have a disadvantage, insofar as they are never freed by the existing code or magically through static destructors. But I figure on Android, this probably doesn't matter a whole lot (we were never running the static destructors anyway...)
Attachment #789548 -
Flags: review?(blassey.bugs)
Updated•11 years ago
|
Attachment #789547 -
Flags: review?(blassey.bugs) → review+
Updated•11 years ago
|
Attachment #789548 -
Flags: review?(blassey.bugs) → review+
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c19762807e32 https://hg.mozilla.org/mozilla-central/rev/5f8ed64eb3ca
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•