Bug 1436279 - Remove unneeded mutable from DisplayItemClipChain::mRefCount - r?mattwoodrow
mRefCount is only accessed from non-const methods, so there is no need for
'mutable'.
MozReview-Commit-ID: Bwv6cO1utU5
--- a/layout/painting/DisplayItemClipChain.h
+++ b/layout/painting/DisplayItemClipChain.h
@@ -75,17 +75,17 @@ struct DisplayItemClipChain {
#ifdef DEBUG
: mOnStack(true)
#endif
{}
DisplayItemClip mClip;
const ActiveScrolledRoot* mASR;
RefPtr<const DisplayItemClipChain> mParent;
- mutable uint32_t mRefCount = 0;
+ uint32_t mRefCount = 0;
#ifdef DEBUG
bool mOnStack;
#endif
};
struct DisplayItemClipChainHasher
{
typedef const DisplayItemClipChain* Key;