Title: [221318] trunk/Source/WebCore
- Revision
- 221318
- Author
- commit-qu...@webkit.org
- Date
- 2017-08-29 15:34:17 -0700 (Tue, 29 Aug 2017)
Log Message
CacheStorage does not need to sort its caches
https://bugs.webkit.org/show_bug.cgi?id=176059
Patch by Youenn Fablet <you...@apple.com> on 2017-08-29
Reviewed by Chris Dumez.
Covered by existing tests.
* Modules/cache/CacheStorage.cpp:
(WebCore::CacheStorage::retrieveCaches):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (221317 => 221318)
--- trunk/Source/WebCore/ChangeLog 2017-08-29 21:55:12 UTC (rev 221317)
+++ trunk/Source/WebCore/ChangeLog 2017-08-29 22:34:17 UTC (rev 221318)
@@ -1,5 +1,17 @@
2017-08-29 Youenn Fablet <you...@apple.com>
+ CacheStorage does not need to sort its caches
+ https://bugs.webkit.org/show_bug.cgi?id=176059
+
+ Reviewed by Chris Dumez.
+
+ Covered by existing tests.
+
+ * Modules/cache/CacheStorage.cpp:
+ (WebCore::CacheStorage::retrieveCaches):
+
+2017-08-29 Youenn Fablet <you...@apple.com>
+
Setting the cache storage engine root path according the session WebsiteDataStore
https://bugs.webkit.org/show_bug.cgi?id=176055
Modified: trunk/Source/WebCore/Modules/cache/CacheStorage.cpp (221317 => 221318)
--- trunk/Source/WebCore/Modules/cache/CacheStorage.cpp 2017-08-29 21:55:12 UTC (rev 221317)
+++ trunk/Source/WebCore/Modules/cache/CacheStorage.cpp 2017-08-29 22:34:17 UTC (rev 221318)
@@ -138,10 +138,6 @@
m_caches.append(Cache::create(*scriptExecutionContext(), WTFMove(info.name), info.identifier, m_connection.copyRef()));
}
- std::sort(m_caches.begin(), m_caches.end(), [&](auto& a, auto& b) {
- return a->identifier() < b->identifier();
- });
-
callback();
}
unsetPendingActivity(this);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes