Bug 1013587 - HTTP cache v2: Start preload on input stream open for existing entries, r=michal

This commit is contained in:
Honza Bambas
2014-06-12 18:04:42 +02:00
parent c8c8260630
commit 512ae967c9

View File

@@ -330,7 +330,7 @@ CacheFileInputStream::Seek(int32_t whence, int64_t offset)
return NS_ERROR_INVALID_ARG;
}
mPos = newPos;
EnsureCorrectChunk(true);
EnsureCorrectChunk(false);
LOG(("CacheFileInputStream::Seek() [this=%p, pos=%lld]", this, mPos));
return NS_OK;