bug 617123: workaround: bump cache version to clear corrupted imgs from cache. a=bustage
authorJason Duell <jduell.mcbugs@gmail.com>
Fri, 10 Dec 2010 14:03:39 -0800
changeset 59090 d1cb3f83103ba0f6035c8ee7d3937a728ae2ba6c
parent 59089 245e6ab9e2e3727788974847312a42f54ef9f988
child 59091 29f85e1308509423edf7da745dcb5ad2b2c1d88d
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs617123
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 617123: workaround: bump cache version to clear corrupted imgs from cache. a=bustage
netwerk/cache/nsDiskCache.h
--- a/netwerk/cache/nsDiskCache.h
+++ b/netwerk/cache/nsDiskCache.h
@@ -48,17 +48,17 @@
 #ifdef XP_WIN
 #include <winsock.h>  // for htonl/ntohl
 #endif
 
 
 class nsDiskCache {
 public:
     enum {
-            kCurrentVersion = 0x00010011      // format = 16 bits major version/16 bits minor version
+            kCurrentVersion = 0x00010012      // format = 16 bits major version/16 bits minor version
     };
 
     enum { kData, kMetaData };
 
     // Parameter initval initializes internal state of hash function. Hash values are different
     // for the same text when different initval is used. It can be any random number.
     // 
     // It can be used for generating 64-bit hash value: