diff --git a/extensions/java/xpcom/src/nsJavaXPTCStub.h b/extensions/java/xpcom/src/nsJavaXPTCStub.h index 0915292437d7..29b5bef1bd1b 100644 --- a/extensions/java/xpcom/src/nsJavaXPTCStub.h +++ b/extensions/java/xpcom/src/nsJavaXPTCStub.h @@ -58,7 +58,7 @@ class nsJavaXPTCStub : public nsXPTCStubBase, public: NS_DECL_ISUPPORTS NS_DECL_NSISUPPORTSWEAKREFERENCE - NS_DEFINE_STATIC_IID_ACCESSOR(NS_JAVAXPTCSTUB_IID) + NS_DECLARE_STATIC_IID_ACCESSOR(NS_JAVAXPTCSTUB_IID) nsJavaXPTCStub(jobject aJavaObject, nsIInterfaceInfo *aIInfo); @@ -129,4 +129,6 @@ private: nsAutoRefCnt mWeakRefCnt; // count for number of associated weak refs }; +NS_DEFINE_STATIC_IID_ACCESSOR(nsJavaXPTCStub, NS_JAVAXPTCSTUB_IID) + #endif // _nsJavaXPTCStub_h_