Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan

This commit is contained in:
Michael Layzell
2015-09-03 12:15:23 -04:00
parent 25eabf11f1
commit a093510d49
74 changed files with 128 additions and 128 deletions

View File

@@ -118,7 +118,7 @@ struct AccumulateDelta_impl<Microsecond>
template<ID id, TimerResolution res = Millisecond>
class AutoTimer {
class MOZ_RAII AutoTimer {
public:
explicit AutoTimer(TimeStamp aStart = TimeStamp::Now() MOZ_GUARD_OBJECT_NOTIFIER_PARAM)
: start(aStart)
@@ -148,7 +148,7 @@ private:
};
template<ID id>
class AutoCounter {
class MOZ_RAII AutoCounter {
public:
explicit AutoCounter(uint32_t counterStart = 0 MOZ_GUARD_OBJECT_NOTIFIER_PARAM)
: counter(counterStart)