Bug 1682536 - Use references/NotNull with IDBCursor. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D99785
This commit is contained in:
@@ -73,7 +73,7 @@ class IDBTransaction final
|
||||
nsTArray<RefPtr<IDBObjectStore>> mObjectStores;
|
||||
nsTArray<RefPtr<IDBObjectStore>> mDeletedObjectStores;
|
||||
RefPtr<StrongWorkerRef> mWorkerRef;
|
||||
nsTArray<IDBCursor*> mCursors;
|
||||
nsTArray<NotNull<IDBCursor*>> mCursors;
|
||||
|
||||
// Tagged with mMode. If mMode is Mode::VersionChange then mBackgroundActor
|
||||
// will be a BackgroundVersionChangeTransactionChild. Otherwise it will be a
|
||||
@@ -312,8 +312,8 @@ class IDBTransaction final
|
||||
int64_t NextIndexId();
|
||||
|
||||
void InvalidateCursorCaches();
|
||||
void RegisterCursor(IDBCursor* aCursor);
|
||||
void UnregisterCursor(IDBCursor* aCursor);
|
||||
void RegisterCursor(IDBCursor& aCursor);
|
||||
void UnregisterCursor(IDBCursor& aCursor);
|
||||
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
NS_DECL_NSIRUNNABLE
|
||||
|
||||
Reference in New Issue
Block a user