Closed
Bug 947336
Opened 11 years ago
Closed 10 years ago
Use more smart pointers in XPCWrappedJS
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: mccr8, Assigned: mccr8)
Details
Attachments
(3 files)
2.93 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
2.77 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
910 bytes,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
With this, the get forget stuff in SetAggregatedNativeObject may be simplifiable.
Assignee | ||
Comment 2•11 years ago
|
||
This is fairly straightforward. The only question is what to do with mRoot. This is an owning pointer only when it isn't |this|. I could change it to be |null| instead of |this|, and make it always owning, and add a half dozen null-checks, but maybe I'll just document the ownership of mRoot instead.
Assignee: nobody → continuation
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8351194 -
Flags: review?(bobbyholley+bmo)
Assignee | ||
Comment 4•11 years ago
|
||
try run: https://tbpl.mozilla.org/?tree=Try&rev=20caa5300e5e
Attachment #8351195 -
Flags: review?(bobbyholley+bmo)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8351196 -
Flags: review?(bobbyholley+bmo)
Updated•10 years ago
|
Attachment #8351194 -
Flags: review?(bobbyholley+bmo) → review+
Updated•10 years ago
|
Attachment #8351195 -
Flags: review?(bobbyholley+bmo) → review+
Updated•10 years ago
|
Attachment #8351196 -
Flags: review?(bobbyholley+bmo) → review+
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?changeset=bd14c8ecd480
https://hg.mozilla.org/mozilla-central/rev/5cccbc60db9c https://hg.mozilla.org/mozilla-central/rev/0c95ce70e969 https://hg.mozilla.org/mozilla-central/rev/060805681c3a
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•