Port bug 1625213 - Removal of onLookupByTypeComplete from nsIDNSListener. rs=bustage-fix
authorGeoff Lankow <geoff@darktrojan.net>
Wed, 08 Apr 2020 10:52:17 +1200
changeset 38743 3f497398788daab69b15f64d49ea1d18cdafbccc
parent 38742 25b29578a1467e2ad16bc9348ef9709210c0294e
child 38744 a027f9a2f39d8a9dde446c0fe5f39dca85b12c74
push id401
push userclokep@gmail.com
push dateMon, 01 Jun 2020 20:41:59 +0000
reviewersbustage-fix
bugs1625213
Port bug 1625213 - Removal of onLookupByTypeComplete from nsIDNSListener. rs=bustage-fix
ldap/xpcom/src/nsLDAPConnection.cpp
--- a/ldap/xpcom/src/nsLDAPConnection.cpp
+++ b/ldap/xpcom/src/nsLDAPConnection.cpp
@@ -584,23 +584,16 @@ nsLDAPConnection::OnLookupComplete(nsICa
   // Call the listener, and then we can release our reference to it.
   //
   mInitListener->OnLDAPInit(this, rv);
   mInitListener = nullptr;
 
   return rv;
 }
 
-NS_IMETHODIMP
-nsLDAPConnection::OnLookupByTypeComplete(nsICancelable *aRequest,
-                                         nsIDNSByTypeRecord *aRes,
-                                         nsresult aStatus) {
-  return NS_OK;
-}
-
 nsLDAPConnectionRunnable::nsLDAPConnectionRunnable(
     int32_t aOperationID, nsILDAPOperation *aOperation,
     nsLDAPConnection *aConnection)
     : mOperationID(aOperationID), mConnection(aConnection) {}
 
 nsLDAPConnectionRunnable::~nsLDAPConnectionRunnable() {
   if (mConnection) {
     NS_ReleaseOnMainThread("nsLDAPConnectionRunnable::mConnection",