Open Bug 1610333 Opened 4 years ago Updated 2 years ago

Inline AnyStaticMutex and revert reference changes

Categories

(Core :: XPCOM, task)

task

Tracking

()

People

(Reporter: mccr8, Unassigned)

References

Details

After bug 1609815, AnyStaticMutex will just be a thin wrapper around a static mutex, so I think we can get rid of it. There are also some mutex types in the same commit that were turned into references because this classes needed it (according to bug 1207696 comment 226), so I think that can be reverted.

Here's the commit that added it: https://hg.mozilla.org/mozilla-central/rev/ca20a3fbb10beac6fa22050279b4226f585a90d8

Also, the type of BaseAutoUnlock::mLock and BaseAutoLock::mLock was changed from a pointer. Maybe that could be undone.

Bug 1618186 removes AnyStaticMutex, but doesn't revert the other changes.

Depends on: 1618186
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.