Bug 810101 - Add readahead to safebrowsing .sbstore and .cache files. r=gpascutto

This commit is contained in:
Aaron Klotz
2012-12-12 18:05:04 -05:00
parent d974df20fd
commit 8198f16a5c
2 changed files with 2 additions and 2 deletions

View File

@@ -235,7 +235,7 @@ HashStore::Open()
nsCOMPtr<nsIInputStream> origStream;
rv = NS_NewLocalFileInputStream(getter_AddRefs(origStream), storeFile,
PR_RDONLY);
PR_RDONLY | nsIFile::OS_READAHEAD);
if (rv == NS_ERROR_FILE_NOT_FOUND) {
UpdateHeader();