Open
Bug 1204239
Opened 9 years ago
Updated 2 years ago
s/MOZ_STACK_CLASS/MOZ_RAII where appropriate
Categories
(Core :: MFBT, defect)
Core
MFBT
Tracking
()
NEW
People
(Reporter: nika, Unassigned)
References
Details
There are places in the code right now where we use MOZ_STACK_CLASS to mark a class which is meant to be used as an RAII guard, and should only be allocated on the stack, but didn't use MOZ_GUARD_OBJECT. MOZ_RAII gives stronger guarantees (also preventing allocations as temporaries), and should be used in many of these cases.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•