mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
rename Cancel() to DoCancel so we don't over-write method from base class (which we will be doing
when the protocol inherits from nsIChannel).
This commit is contained in:
parent
bac54b7e67
commit
3161ca1600
@ -3741,7 +3741,7 @@ PRBool nsNNTPProtocol::CheckIfAuthor(nsISupports *aElement, void *data)
|
||||
}
|
||||
}
|
||||
|
||||
PRInt32 nsNNTPProtocol::Cancel()
|
||||
PRInt32 nsNNTPProtocol::DoCancel()
|
||||
{
|
||||
int status = 0;
|
||||
nsresult rv = NS_OK;
|
||||
@ -4725,7 +4725,7 @@ nsresult nsNNTPProtocol::ProcessProtocolState(nsIURI * url, nsIInputStream * inp
|
||||
break;
|
||||
|
||||
case NEWS_DO_CANCEL:
|
||||
status = Cancel();
|
||||
status = DoCancel();
|
||||
break;
|
||||
|
||||
// XPAT
|
||||
|
@ -342,7 +342,7 @@ private:
|
||||
|
||||
// Canceling
|
||||
PRInt32 StartCancel();
|
||||
PRInt32 Cancel();
|
||||
PRInt32 DoCancel();
|
||||
|
||||
// XPAT
|
||||
PRInt32 XPATSend();
|
||||
|
Loading…
x
Reference in New Issue
Block a user