Backed out changeset 80f77d10896b (bug 1013587) for crashes
authorNigel Babu <nigelbabu@gmail.com>
Sun, 29 Jun 2014 18:45:13 +0530
changeset 208551 8e6d0f924669c9d62e468a5c32b41032df93ed24
parent 208550 40a8bc18e9d93a51ddda5ec79502aef9e1bd96e5
child 208552 b435946629a08861721de385f8a3c3ddd72e277a
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1013587
milestone32.0a2
backs out80f77d10896bdd11dff4a49962b344801136f7a9
Backed out changeset 80f77d10896b (bug 1013587) for crashes
netwerk/cache2/CacheFileInputStream.cpp
--- a/netwerk/cache2/CacheFileInputStream.cpp
+++ b/netwerk/cache2/CacheFileInputStream.cpp
@@ -324,17 +324,17 @@ CacheFileInputStream::Seek(int32_t whenc
     case NS_SEEK_END:
       newPos += mFile->mDataSize;
       break;
     default:
       NS_ERROR("invalid whence");
       return NS_ERROR_INVALID_ARG;
   }
   mPos = newPos;
-  EnsureCorrectChunk(false);
+  EnsureCorrectChunk(true);
 
   LOG(("CacheFileInputStream::Seek() [this=%p, pos=%lld]", this, mPos));
   return NS_OK;
 }
 
 NS_IMETHODIMP
 CacheFileInputStream::Tell(int64_t *_retval)
 {