Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to.

git-svn-id: svn://10.0.0.236/trunk@27474 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com
1999-04-14 23:06:22 +00:00
parent a6ef6e380e
commit 78230e652c
8 changed files with 20 additions and 16 deletions

View File

@@ -1392,9 +1392,8 @@ void nsDocLoaderImpl::LoadURLComplete(nsIURL* aURL, nsISupports* aBindInfo, PRIn
* If the entry is not found in the list, then it must have been cancelled
* via Stop(...). So ignore just it...
*/
nsresult res;
res = m_LoadingDocsList->RemoveElement(aBindInfo);
if (NS_SUCCEEDED(res)) {
rv = m_LoadingDocsList->RemoveElement(aBindInfo);
if (PR_FALSE != rv) {
nsILoadAttribs* loadAttributes;
nsURLLoadType loadType = nsURLLoadNormal;