зеркало из https://github.com/mozilla/gecko-dev.git
Suggested fix from scc@mozilla.org
This commit is contained in:
Родитель
6322a17f43
Коммит
e306ca0364
|
@ -175,14 +175,14 @@ nsFileTransportService::DispatchRequest(nsIRunnable* runnable)
|
|||
nsresult
|
||||
nsFileTransportService::AddSuspendedTransport(nsITransport* trans)
|
||||
{
|
||||
mSuspendedTransportList.AppendElement(NS_STATIC_CAST(nsISupports*, trans));
|
||||
NS_STATIC_CAST(nsISupportsArray*, &mSuspendedTransportList)->AppendElement(trans);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsFileTransportService::RemoveSuspendedTransport(nsITransport* trans)
|
||||
{
|
||||
mSuspendedTransportList.RemoveElement(NS_STATIC_CAST(nsISupports*, trans));
|
||||
NS_STATIC_CAST(nsISupportsArray*, &mSuspendedTransportList)->RemoveElement(trans);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче