Bug 999888: Make ObserverLists not use mozilla::AtomicRefCounted; r=froydnj

--HG--
extra : rebase_source : a1a29242b9a8d6e265d20352d9f24d743f20a47c
This commit is contained in:
Ehsan Akhgari 2014-04-29 11:32:03 -06:00
parent 6e588eb232
commit e04a4fd6c3

View File

@ -41,8 +41,14 @@ void VectorRemove(std::vector<T>& vector, const T& element)
}
/** Lists of Observers */
struct ObserverLists : public mozilla::AtomicRefCounted<ObserverLists>
struct ObserverLists
{
private:
~ObserverLists() {}
public:
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(ObserverLists)
ObserverLists()
{
}