Backed out changeset ec5685278f82
authorChris Double <chris.double@double.co.nz>
Thu, 23 Aug 2012 21:03:37 +1200
changeset 105198 f7e71fef7de93358b888f6a47d154eba2d8ace2a
parent 105195 69b6210ae965e2f3ffa5f3e37ca0670caecaaf01
child 105199 a10b82a0012d496ca8413c4b1ed8c9df240b2c64
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
milestone17.0a1
backs outec5685278f82d5443b1bfc75fcfa101ac5dc0fb5
Backed out changeset ec5685278f82
netwerk/base/src/nsFileStreams.cpp
--- a/netwerk/base/src/nsFileStreams.cpp
+++ b/netwerk/base/src/nsFileStreams.cpp
@@ -491,16 +491,21 @@ NS_IMETHODIMP
 nsFileInputStream::Tell(int64_t *aResult)
 {
     return nsFileStreamBase::Tell(aResult);
 }
 
 NS_IMETHODIMP
 nsFileInputStream::Available(uint64_t *aResult)
 {
+    //if (mFD == nullptr && mBehaviorFlags & REOPEN_ON_REWIND) {
+        //*aResult = 0;
+        //return NS_OK;
+    //}
+
     return nsFileStreamBase::Available(aResult);
 }
 
 bool
 nsFileInputStream::Read(const IPC::Message *aMsg, void **aIter)
 {
     using IPC::ReadParam;