fixes bug 107789 "depracate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts
This commit is contained in:
@@ -4172,10 +4172,10 @@ nsresult nsDocShell::DoURILoad(nsIURI * aURI,
|
||||
// XXX it's a bit of a hack to rewind the postdata stream here but
|
||||
// it has to be done in case the post data is being reused multiple
|
||||
// times.
|
||||
nsCOMPtr<nsIRandomAccessStore>
|
||||
nsCOMPtr<nsISeekableStream>
|
||||
postDataRandomAccess(do_QueryInterface(aPostData));
|
||||
if (postDataRandomAccess) {
|
||||
postDataRandomAccess->Seek(PR_SEEK_SET, 0);
|
||||
postDataRandomAccess->Seek(nsISeekableStream::NS_SEEK_SET, 0);
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIUploadChannel> uploadChannel(do_QueryInterface(httpChannel));
|
||||
|
||||
Reference in New Issue
Block a user