mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Checkin shaver's patch to allow debug Mozilla builds to dynamicly link with XPCOM-based, nsCOMPtr-using optimized plugins (77112, r=brendan, sr=scc, a=chofmann).
This commit is contained in:
parent
a895548450
commit
4f5aafa905
@ -405,7 +405,11 @@ class nsCOMPtr_base
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR
|
#ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR
|
||||||
NS_EXPORT ~nsCOMPtr_base();
|
NS_EXPORT ~nsCOMPtr_base();
|
||||||
|
#else
|
||||||
|
// Allow debug builds to link with optimized versions of nsCOMPtr-using
|
||||||
|
// plugins (e.g., JVMs).
|
||||||
|
NS_EXPORT ~nsCOMPtr_base() { }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
NS_EXPORT void assign_with_AddRef( nsISupports* );
|
NS_EXPORT void assign_with_AddRef( nsISupports* );
|
||||||
|
@ -405,7 +405,11 @@ class nsCOMPtr_base
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR
|
#ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR
|
||||||
NS_EXPORT ~nsCOMPtr_base();
|
NS_EXPORT ~nsCOMPtr_base();
|
||||||
|
#else
|
||||||
|
// Allow debug builds to link with optimized versions of nsCOMPtr-using
|
||||||
|
// plugins (e.g., JVMs).
|
||||||
|
NS_EXPORT ~nsCOMPtr_base() { }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
NS_EXPORT void assign_with_AddRef( nsISupports* );
|
NS_EXPORT void assign_with_AddRef( nsISupports* );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user