Bug 1437604 - remove NS_INTERFACE_MAP_END_THREADSAFE (comm-central part). rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Tue, 13 Feb 2018 11:51:35 +0100
changeset 31105 9e1d29078d65a3039163b847d9222235724648db
parent 31104 f1a768d1bbedee48bffeb53c11f0fa4273874941
child 31106 794f3250e619b4a51e193931f78e6dbc47bfb6ce
push id383
push userclokep@gmail.com
push dateMon, 07 May 2018 21:52:48 +0000
reviewersbustage-fix
bugs1437604
Bug 1437604 - remove NS_INTERFACE_MAP_END_THREADSAFE (comm-central part). rs=bustage-fix
ldap/xpcom/src/nsLDAPConnection.cpp
ldap/xpcom/src/nsLDAPMessage.cpp
ldap/xpcom/src/nsLDAPOperation.cpp
mailnews/imap/src/nsImapProtocol.cpp
--- a/ldap/xpcom/src/nsLDAPConnection.cpp
+++ b/ldap/xpcom/src/nsLDAPConnection.cpp
@@ -62,17 +62,17 @@ NS_IMPL_CLASSINFO(nsLDAPConnection, NULL
 
 NS_INTERFACE_MAP_BEGIN(nsLDAPConnection)
   NS_INTERFACE_MAP_ENTRY(nsILDAPConnection)
   NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
   NS_INTERFACE_MAP_ENTRY(nsIDNSListener)
   NS_INTERFACE_MAP_ENTRY(nsIObserver)
   NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsILDAPConnection)
   NS_IMPL_QUERY_CLASSINFO(nsLDAPConnection)
-NS_INTERFACE_MAP_END_THREADSAFE
+NS_INTERFACE_MAP_END
 NS_IMPL_CI_INTERFACE_GETTER(nsLDAPConnection, nsILDAPConnection,
                              nsISupportsWeakReference, nsIDNSListener,
                              nsIObserver)
 
 NS_IMETHODIMP
 nsLDAPConnection::Init(nsILDAPURL *aUrl, const nsACString &aBindName,
                        nsILDAPMessageListener *aMessageListener,
                        nsISupports *aClosure, uint32_t aVersion)
--- a/ldap/xpcom/src/nsLDAPMessage.cpp
+++ b/ldap/xpcom/src/nsLDAPMessage.cpp
@@ -20,17 +20,17 @@ NS_IMPL_CLASSINFO(nsLDAPMessage, NULL, n
                   NS_LDAPMESSAGE_CID)
 
 NS_IMPL_ADDREF(nsLDAPMessage)
 NS_IMPL_RELEASE(nsLDAPMessage)
 NS_INTERFACE_MAP_BEGIN(nsLDAPMessage)
   NS_INTERFACE_MAP_ENTRY(nsILDAPMessage)
   NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsILDAPMessage)
   NS_IMPL_QUERY_CLASSINFO(nsLDAPMessage)
-NS_INTERFACE_MAP_END_THREADSAFE
+NS_INTERFACE_MAP_END
 NS_IMPL_CI_INTERFACE_GETTER(nsLDAPMessage, nsILDAPMessage)
 
 
 // constructor
 //
 nsLDAPMessage::nsLDAPMessage() 
     : mMsgHandle(0),
       mErrorCode(LDAP_SUCCESS),
--- a/ldap/xpcom/src/nsLDAPOperation.cpp
+++ b/ldap/xpcom/src/nsLDAPOperation.cpp
@@ -70,17 +70,17 @@ NS_IMPL_CLASSINFO(nsLDAPOperation, NULL,
                   NS_LDAPOPERATION_CID)
 
 NS_IMPL_ADDREF(nsLDAPOperation)
 NS_IMPL_RELEASE(nsLDAPOperation)
 NS_INTERFACE_MAP_BEGIN(nsLDAPOperation)
   NS_INTERFACE_MAP_ENTRY(nsILDAPOperation)
   NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsILDAPOperation)
   NS_IMPL_QUERY_CLASSINFO(nsLDAPOperation)
-NS_INTERFACE_MAP_END_THREADSAFE
+NS_INTERFACE_MAP_END
 NS_IMPL_CI_INTERFACE_GETTER(nsLDAPOperation, nsILDAPOperation)
 
 /**
  * Initializes this operation.  Must be called prior to use.
  *
  * @param aConnection connection this operation should use
  * @param aMessageListener where are the results are called back to.
  */
--- a/mailnews/imap/src/nsImapProtocol.cpp
+++ b/mailnews/imap/src/nsImapProtocol.cpp
@@ -297,17 +297,17 @@ NS_INTERFACE_MAP_BEGIN(nsImapProtocol)
    NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIImapProtocol)
    NS_INTERFACE_MAP_ENTRY(nsIRunnable)
    NS_INTERFACE_MAP_ENTRY(nsIImapProtocol)
    NS_INTERFACE_MAP_ENTRY(nsIProtocolProxyCallback)
    NS_INTERFACE_MAP_ENTRY(nsIInputStreamCallback)
    NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
    NS_INTERFACE_MAP_ENTRY(nsIImapProtocolSink)
    NS_INTERFACE_MAP_ENTRY(nsIMsgAsyncPromptListener)
-NS_INTERFACE_MAP_END_THREADSAFE
+NS_INTERFACE_MAP_END
 
 static int32_t gTooFastTime = 2;
 static int32_t gIdealTime = 4;
 static int32_t gChunkAddSize = 16384;
 static int32_t gChunkSize = 250000;
 static int32_t gChunkThreshold = gChunkSize + gChunkSize/2;
 static bool gChunkSizeDirty = false;
 static bool gFetchByChunks = true;