Closed
Bug 1638124
Opened 5 years ago
Closed 5 years ago
Add a NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_DESTROY
Categories
(Core :: XPCOM, enhancement, P3)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla78
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
Details
Attachments
(3 files)
This is manually implemented in various places in order to delegate deletion of a threadsafe-refcounted type to the main thread, including:
- https://searchfox.org/mozilla-central/rev/4166c15e2a99a23a9b38ad62c9fdfe8e5448b354/gfx/layers/ipc/ThreadSafeRefcountingWithMainThreadDestruction.h#51
- https://searchfox.org/mozilla-central/rev/4166c15e2a99a23a9b38ad62c9fdfe8e5448b354/dom/media/MediaResource.h#53-59
- https://searchfox.org/mozilla-central/rev/4166c15e2a99a23a9b38ad62c9fdfe8e5448b354/dom/media/MediaTimer.h#42-44
- https://searchfox.org/mozilla-central/rev/4166c15e2a99a23a9b38ad62c9fdfe8e5448b354/dom/media/gmp/GMPCrashHelper.h#23-24
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1f2a844bd3de
Part 1: Add NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_DESTROY, r=froydnj
https://hg.mozilla.org/integration/autoland/rev/11cee1f6b118
Part 2: Convert media types to NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_DESTROY, r=jya
https://hg.mozilla.org/integration/autoland/rev/6ac269af4f79
Part 3: Cleanup NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION, r=mattwoodrow
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1f2a844bd3de
https://hg.mozilla.org/mozilla-central/rev/11cee1f6b118
https://hg.mozilla.org/mozilla-central/rev/6ac269af4f79
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in
before you can comment on or make changes to this bug.
Description
•