mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 13:52:37 +00:00
Instrument nsSVGRenderingObserverList for trace-refcnt (bug 499613). r=roc
This commit is contained in:
parent
a6223e7bd0
commit
7dd12cd149
@ -188,8 +188,15 @@ protected:
|
||||
*/
|
||||
class nsSVGRenderingObserverList {
|
||||
public:
|
||||
nsSVGRenderingObserverList() { mObservers.Init(5); }
|
||||
~nsSVGRenderingObserverList() { InvalidateAll(); }
|
||||
nsSVGRenderingObserverList() {
|
||||
MOZ_COUNT_CTOR(nsSVGRenderingObserverList);
|
||||
mObservers.Init(5);
|
||||
}
|
||||
|
||||
~nsSVGRenderingObserverList() {
|
||||
InvalidateAll();
|
||||
MOZ_COUNT_DTOR(nsSVGRenderingObserverList);
|
||||
}
|
||||
|
||||
void Add(nsSVGRenderingObserver* aObserver)
|
||||
{ mObservers.PutEntry(aObserver); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user