Bug 901756 - Fix a few nits in nsCycleCollector.cpp r=khuey

Remove an unused forward declaration, and an unused field
This commit is contained in:
Andrew McCreight 2013-08-05 17:04:47 -07:00
parent 8e33abb5a7
commit d8cbc18b1c

View File

@ -909,8 +909,6 @@ class nsCycleCollectorRunner;
// Top level structure for the cycle collector.
////////////////////////////////////////////////////////////////////////
class AsyncFreeSnowWhite;
class nsCycleCollector
{
friend class GCGraphBuilder;
@ -2236,7 +2234,6 @@ public:
bool aAsyncSnowWhiteFreeing,
CC_ForgetSkippableCallback aCb)
: SnowWhiteKiller(aAsyncSnowWhiteFreeing ? 0 : aMaxCount),
mCollector(aCollector),
mRemoveChildlessNodes(aRemoveChildlessNodes),
mAsyncSnowWhiteFreeing(aAsyncSnowWhiteFreeing),
mDispatchedDeferredDeletion(false),
@ -2280,7 +2277,6 @@ public:
}
private:
nsCycleCollector* mCollector;
bool mRemoveChildlessNodes;
bool mAsyncSnowWhiteFreeing;
bool mDispatchedDeferredDeletion;