Followup to:
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Nov 2016 01:16:18 +0000 (01:16 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Nov 2016 01:16:18 +0000 (01:16 +0000)
IndexedDB 2.0: Cache and reuse SQLiteStatements in the SQLite backend.
https://bugs.webkit.org/show_bug.cgi?id=164974

Unreviewed.

* Modules/indexeddb/IDBTransaction.h: Until I can explore further why these operations
  are not protected in the map, change these raw pointers to RefPtrs.
  This fixes issues seen under GuardMalloc.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209104 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/Modules/indexeddb/IDBTransaction.h

index 9c7ee93..8d33fcc 100644 (file)
@@ -1,3 +1,15 @@
+2016-11-29  Brady Eidson  <beidson@apple.com>
+
+        Followup to:
+        IndexedDB 2.0: Cache and reuse SQLiteStatements in the SQLite backend.
+        https://bugs.webkit.org/show_bug.cgi?id=164974
+
+        Unreviewed.
+
+        * Modules/indexeddb/IDBTransaction.h: Until I can explore further why these operations
+          are not protected in the map, change these raw pointers to RefPtrs.
+          This fixes issues seen under GuardMalloc.
+
 2016-11-29  Antoine Quint  <graouts@apple.com>
 
         [Modern Media Controls] Inline controls show when entering fullscreen
index af96c4c..3f666a8 100644 (file)
@@ -244,7 +244,7 @@ private:
     RefPtr<IDBOpenDBRequest> m_openDBRequest;
 
     Deque<RefPtr<IDBClient::TransactionOperation>> m_pendingTransactionOperationQueue;
-    Deque<IDBClient::TransactionOperation*> m_transactionOperationsInProgressQueue;
+    Deque<RefPtr<IDBClient::TransactionOperation>> m_transactionOperationsInProgressQueue;
     Deque<std::pair<RefPtr<IDBClient::TransactionOperation>, IDBResultData>> m_completedOnServerQueue;
     Deque<RefPtr<IDBClient::TransactionOperation>> m_abortQueue;