From 98dbbe66100b30e3b5387137c40447b6db1d7fc6 Mon Sep 17 00:00:00 2001 From: "benjamin%smedbergs.us" Date: Wed, 19 Apr 2006 20:21:29 +0000 Subject: [PATCH] Reverting this to use NS_VISIBILTY_DEFAULT because this exposed GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26905 --- xpcom/glue/nsWeakReference.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xpcom/glue/nsWeakReference.h b/xpcom/glue/nsWeakReference.h index ac81097e905c..c9ac202b4c8c 100644 --- a/xpcom/glue/nsWeakReference.h +++ b/xpcom/glue/nsWeakReference.h @@ -49,8 +49,10 @@ class nsWeakReference; // Set IMETHOD_VISIBILITY to empty so that the class-level NS_COM declaration // controls member method visibility. +// XXXbsmedberg reverted to use NS_VISIBILITY_DEFAULT because this is exposing +// http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26905 #undef IMETHOD_VISIBILITY -#define IMETHOD_VISIBILITY +#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT class NS_COM_GLUE nsSupportsWeakReference : public nsISupportsWeakReference {