Improve use of NeverDestroyed
[WebKit-https.git] / Source / WebKitLegacy / ChangeLog
index 3be390d..5f5f7c3 100644 (file)
@@ -1,3 +1,15 @@
+2017-07-17  Darin Adler  <darin@apple.com>
+
+        Improve use of NeverDestroyed
+        https://bugs.webkit.org/show_bug.cgi?id=174348
+
+        Reviewed by Sam Weinig.
+
+        * Storage/StorageThread.cpp:
+        (WebCore::StorageThread::releaseFastMallocFreeMemoryInAllThreads):
+        Simplify code by using a modern for loop and passing a function without wrapping
+        it in a lambda.
+
 2017-07-17  Michael Catanzaro  <mcatanzaro@igalia.com>
 
         [CMake] Macros in WebKitMacros.cmake should be prefixed with WEBKIT_ namespace