Title: [284160] trunk/Source/WebKitLegacy
Revision
284160
Author
[email protected]
Date
2021-10-14 07:48:27 -0700 (Thu, 14 Oct 2021)

Log Message

Unreviewed, very tiny partial revert of r284142 to address assertion hits on the bots.

* Storage/InProcessIDBServer.cpp:
(storageQuotaManagerSpaceRequester):

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/ChangeLog (284159 => 284160)


--- trunk/Source/WebKitLegacy/ChangeLog	2021-10-14 14:24:50 UTC (rev 284159)
+++ trunk/Source/WebKitLegacy/ChangeLog	2021-10-14 14:48:27 UTC (rev 284160)
@@ -1,3 +1,10 @@
+2021-10-14  Chris Dumez  <[email protected]>
+
+        Unreviewed, very tiny partial revert of r284142 to address assertion hits on the bots.
+
+        * Storage/InProcessIDBServer.cpp:
+        (storageQuotaManagerSpaceRequester):
+
 2021-10-13  Chris Dumez  <[email protected]>
 
         Drop makeWeakPtr() and use WeakPtr { } directly

Modified: trunk/Source/WebKitLegacy/Storage/InProcessIDBServer.cpp (284159 => 284160)


--- trunk/Source/WebKitLegacy/Storage/InProcessIDBServer.cpp	2021-10-14 14:24:50 UTC (rev 284159)
+++ trunk/Source/WebKitLegacy/Storage/InProcessIDBServer.cpp	2021-10-14 14:48:27 UTC (rev 284160)
@@ -83,8 +83,8 @@
 
 static inline IDBServer::IDBServer::StorageQuotaManagerSpaceRequester storageQuotaManagerSpaceRequester(InProcessIDBServer& server)
 {
-    return [weakServer = WeakPtr { server }](const ClientOrigin& origin, uint64_t spaceRequested) mutable {
-        auto* storageQuotaManager = weakServer ? weakServer->quotaManager(origin) : nullptr;
+    return [server, weakServer = WeakPtr { server }](const ClientOrigin& origin, uint64_t spaceRequested) mutable {
+        auto* storageQuotaManager = weakServer ? server->quotaManager(origin) : nullptr;
         return storageQuotaManager ? storageQuotaManager->requestSpaceOnBackgroundThread(spaceRequested) : StorageQuotaManager::Decision::Deny;
     };
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to