Bug 1926565 - IDB: Remove a meaningless assertion; r=dom-storage-reviewers,jstutte

Differential Revision: https://phabricator.services.mozilla.com/D226638
This commit is contained in:
Jan Varga 2024-10-23 20:17:07 +00:00
parent 32e667f159
commit 40c2d54381

View File

@ -2174,7 +2174,6 @@ class Database final
void AssertIsOnConnectionThread() const { void AssertIsOnConnectionThread() const {
#ifdef DEBUG #ifdef DEBUG
if (mConnection) { if (mConnection) {
MOZ_ASSERT(mConnection);
mConnection->AssertIsOnConnectionThread(); mConnection->AssertIsOnConnectionThread();
} else { } else {
MOZ_ASSERT(!NS_IsMainThread()); MOZ_ASSERT(!NS_IsMainThread());