mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
tweak assertion.
This commit is contained in:
parent
a60c59aa2d
commit
39ee7ca324
@ -688,10 +688,10 @@ nsCookieService::Observe(nsISupports *aSubject,
|
||||
!mPrivateDBState.hostTable.Init())
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
NS_ASSERTION(mDBState == &mPrivateDBState, "already in private state");
|
||||
NS_ASSERTION(mDBState == &mDefaultDBState, "already in private state");
|
||||
NS_ASSERTION(mPrivateDBState.cookieCount == 0, "private count not 0");
|
||||
NS_ASSERTION(mPrivateDBState.hostTable.Count() == 0, "private table not empty");
|
||||
NS_ASSERTION(!mPrivateDBState.dbConn, "private DB connection not null");
|
||||
NS_ASSERTION(mPrivateDBState.dbConn == NULL, "private DB connection not null");
|
||||
|
||||
// swap the private and default states
|
||||
mDBState = &mPrivateDBState;
|
||||
|
Loading…
Reference in New Issue
Block a user