mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
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:
parent
32e667f159
commit
40c2d54381
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user