mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
fix my dumb bustage, etc. (darned src/build)
This commit is contained in:
parent
4844b29ab7
commit
819da1e47a
@ -33,8 +33,8 @@
|
||||
|
||||
static NS_DEFINE_IID(kILookAndFeelIID, NS_ILOOKANDFEEL_IID);
|
||||
static NS_DEFINE_IID(kLookAndFeelCID, NS_LOOKANDFEEL_CID);
|
||||
static nsILookAndFeel *nsWidget::sLookAndFeel = nsnull;
|
||||
static PRUint32 nsWidget::sWidgetCount = 0;
|
||||
nsILookAndFeel *nsWidget::sLookAndFeel = nsnull;
|
||||
PRUint32 nsWidget::sWidgetCount = 0;
|
||||
|
||||
//#define DBG 1
|
||||
|
||||
@ -77,7 +77,7 @@ nsWidget::~nsWidget()
|
||||
Destroy();
|
||||
}
|
||||
if (!sWidgetCount--) {
|
||||
NS_RELEASE_IF(sLookAndFeel);
|
||||
NS_IF_RELEASE(sLookAndFeel);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user