Fix massive numbers of threadsafety assertions by re-adding NS_INIT_ISUPPORTS, to make builds usable again. b=110531 sr=waterson
This commit is contained in:
Родитель
aac3d42c8b
Коммит
72a804f1e8
|
@ -83,10 +83,18 @@ protected:
|
|||
class nsPropertyElement : public nsIPropertyElement
|
||||
{
|
||||
public:
|
||||
nsPropertyElement() {};
|
||||
nsPropertyElement(const PRUnichar *aKey,
|
||||
const PRUnichar *aValue): mKey(aKey), mValue(aValue) {}
|
||||
virtual ~nsPropertyElement() {};
|
||||
nsPropertyElement()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsPropertyElement(const PRUnichar *aKey, const PRUnichar *aValue)
|
||||
: mKey(aKey), mValue(aValue)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
virtual ~nsPropertyElement() {}
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче