mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more intl parts); blanket-r=bzbarsky
--HG-- extra : rebase_source : 92f6b1dd5d0e67e05a7338991e648a09149275ec
This commit is contained in:
parent
0e3a8a4574
commit
d2b4d0734c
@ -11,10 +11,11 @@
|
|||||||
#include "nsICollation.h"
|
#include "nsICollation.h"
|
||||||
#include "nsCollation.h" // static library
|
#include "nsCollation.h" // static library
|
||||||
#include "plstr.h"
|
#include "plstr.h"
|
||||||
|
#include "mozilla/Attributes.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class nsCollationUnix : public nsICollation {
|
class nsCollationUnix MOZ_FINAL : public nsICollation {
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
nsCollation *mCollation;
|
nsCollation *mCollation;
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#include "nsHttpAuthCache.h"
|
#include "nsHttpAuthCache.h"
|
||||||
#include "nsProxyInfo.h"
|
#include "nsProxyInfo.h"
|
||||||
#include "nsIDNSListener.h"
|
#include "nsIDNSListener.h"
|
||||||
|
#include "mozilla/Attributes.h"
|
||||||
|
|
||||||
class nsIHttpAuthenticator;
|
class nsIHttpAuthenticator;
|
||||||
|
|
||||||
@ -151,7 +152,7 @@ private:
|
|||||||
PRUint32 mResolvedHost : 1;
|
PRUint32 mResolvedHost : 1;
|
||||||
|
|
||||||
// define a separate threadsafe class for use with the DNS callback
|
// define a separate threadsafe class for use with the DNS callback
|
||||||
class DNSCallback : public nsIDNSListener
|
class DNSCallback MOZ_FINAL : public nsIDNSListener
|
||||||
{
|
{
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_ISUPPORTS
|
||||||
NS_DECL_NSIDNSLISTENER
|
NS_DECL_NSIDNSLISTENER
|
||||||
|
Loading…
Reference in New Issue
Block a user