fixes bug 107789 "depracate nsIRandomAccessStore (superceded by nsISeekableStream)"

r=dougt, sr=rpotts
This commit is contained in:
darin@netscape.com
2001-11-06 02:50:42 +00:00
parent 9e25255ee9
commit e5711f09a5
12 changed files with 55 additions and 124 deletions

View File

@@ -1188,10 +1188,10 @@ nsresult nsWebShell::EndPageLoad(nsIWebProgress *aProgress,
httpChannel->GetUploadStream(getter_AddRefs(inputStream));
}
}
nsCOMPtr<nsIRandomAccessStore> postDataRandomAccess(do_QueryInterface(inputStream));
nsCOMPtr<nsISeekableStream> postDataRandomAccess(do_QueryInterface(inputStream));
if (postDataRandomAccess)
{
postDataRandomAccess->Seek(PR_SEEK_SET, 0);
postDataRandomAccess->Seek(nsISeekableStream::NS_SEEK_SET, 0);
}
InternalLoad(url, // URI
referrer, // Refering URI