diff --git a/base/src/nsProperties.cpp b/base/src/nsProperties.cpp index c46055d782f..5725c601914 100644 --- a/base/src/nsProperties.cpp +++ b/base/src/nsProperties.cpp @@ -69,7 +69,9 @@ nsProperties::~nsProperties() } } -NS_IMPL_ISUPPORTS(nsProperties, NS_IPROPERTIES_IID) +NS_DEFINE_IID(kIPropertiesIID, NS_IPROPERTIES_IID); + +NS_IMPL_ISUPPORTS(nsProperties, kIPropertiesIID) NS_IMETHODIMP nsProperties::Load(nsIInputStream *aIn) diff --git a/xpcom/ds/nsProperties.cpp b/xpcom/ds/nsProperties.cpp index c46055d782f..5725c601914 100644 --- a/xpcom/ds/nsProperties.cpp +++ b/xpcom/ds/nsProperties.cpp @@ -69,7 +69,9 @@ nsProperties::~nsProperties() } } -NS_IMPL_ISUPPORTS(nsProperties, NS_IPROPERTIES_IID) +NS_DEFINE_IID(kIPropertiesIID, NS_IPROPERTIES_IID); + +NS_IMPL_ISUPPORTS(nsProperties, kIPropertiesIID) NS_IMETHODIMP nsProperties::Load(nsIInputStream *aIn)