зеркало из https://github.com/mozilla/gecko-dev.git
Unification of LoadUrl signature to remove some warnings on Linux & Mac. LoadUrl signature takes a display consumer.
This commit is contained in:
Родитель
ff06a93a06
Коммит
16d8890834
|
@ -1190,7 +1190,7 @@ PRInt32 nsSmtpProtocol::SendMessageResponse()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
nsresult nsSmtpProtocol::LoadUrl(nsIURL * aURL)
|
nsresult nsSmtpProtocol::LoadUrl(nsIURL * aURL, nsISupports * /* aConsumer */)
|
||||||
{
|
{
|
||||||
nsresult rv = NS_OK;
|
nsresult rv = NS_OK;
|
||||||
PRInt32 status = 0;
|
PRInt32 status = 0;
|
||||||
|
|
|
@ -74,7 +74,7 @@ public:
|
||||||
nsSmtpProtocol(nsIURL * aURL);
|
nsSmtpProtocol(nsIURL * aURL);
|
||||||
virtual ~nsSmtpProtocol();
|
virtual ~nsSmtpProtocol();
|
||||||
|
|
||||||
virtual nsresult LoadUrl(nsIURL * aURL);
|
virtual nsresult LoadUrl(nsIURL * aURL, nsISupports * aConsumer = nsnull);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// we suppport the nsIStreamListener interface
|
// we suppport the nsIStreamListener interface
|
||||||
|
|
Загрузка…
Ссылка в новой задаче