Title: [228415] trunk/Source/WebKit
Revision
228415
Author
an...@apple.com
Date
2018-02-12 20:44:21 -0800 (Mon, 12 Feb 2018)

Log Message

Update NetworkCache::Storage::lastStableVersion after r226349
https://bugs.webkit.org/show_bug.cgi?id=182723
<rdar://problem/37469554>

Reviewed by Ryosuke Niwa.

* NetworkProcess/cache/NetworkCacheStorage.h:

Allow deleting version 11 caches.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (228414 => 228415)


--- trunk/Source/WebKit/ChangeLog	2018-02-13 03:26:50 UTC (rev 228414)
+++ trunk/Source/WebKit/ChangeLog	2018-02-13 04:44:21 UTC (rev 228415)
@@ -1,3 +1,15 @@
+2018-02-12  Antti Koivisto  <an...@apple.com>
+
+        Update NetworkCache::Storage::lastStableVersion after r226349
+        https://bugs.webkit.org/show_bug.cgi?id=182723
+        <rdar://problem/37469554>
+        
+        Reviewed by Ryosuke Niwa.
+
+        * NetworkProcess/cache/NetworkCacheStorage.h:
+
+        Allow deleting version 11 caches.
+
 2018-02-12  Wenson Hsieh  <wenson_hs...@apple.com>
 
         [Extra zoom mode] Add support for <input type='time'> using time picker UI

Modified: trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.h (228414 => 228415)


--- trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.h	2018-02-13 03:26:50 UTC (rev 228414)
+++ trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.h	2018-02-13 04:44:21 UTC (rev 228415)
@@ -87,10 +87,11 @@
     size_t capacity() const { return m_capacity; }
     size_t approximateSize() const;
 
+    // Incrementing this number will delete all existing cache content for everyone. Do you really need to do it?
     static const unsigned version = 12;
 #if PLATFORM(MAC)
     /// Allow the last stable version of the cache to co-exist with the latest development one.
-    static const unsigned lastStableVersion = 11;
+    static const unsigned lastStableVersion = 12;
 #endif
 
     String basePath() const;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to