зеркало из https://github.com/mozilla/gecko-dev.git
Remove line breaks from end of assertion messages
This commit is contained in:
Родитель
26dc399303
Коммит
ca1f42ecc6
|
@ -107,7 +107,7 @@ nsMemoryCacheDevice::Shutdown()
|
|||
for (int i = kQueueCount - 1; i >= 0; --i) {
|
||||
entry = (nsCacheEntry *)PR_LIST_HEAD(&mEvictionList[i]);
|
||||
while (entry != &mEvictionList[i]) {
|
||||
NS_ASSERTION(entry->IsInUse() == PR_FALSE, "### shutting down with active entries.\n");
|
||||
NS_ASSERTION(entry->IsInUse() == PR_FALSE, "### shutting down with active entries");
|
||||
next = (nsCacheEntry *)PR_NEXT_LINK(entry);
|
||||
PR_REMOVE_AND_INIT_LINK(entry);
|
||||
|
||||
|
@ -124,10 +124,10 @@ nsMemoryCacheDevice::Shutdown()
|
|||
|
||||
/*
|
||||
* we're not factoring in changes to meta data yet...
|
||||
* NS_ASSERTION(mTotalSize == 0, "### mem cache leaking entries?\n");
|
||||
* NS_ASSERTION(mTotalSize == 0, "### mem cache leaking entries?");
|
||||
*/
|
||||
NS_ASSERTION(mInactiveSize == 0, "### mem cache leaking entries?\n");
|
||||
NS_ASSERTION(mEntryCount == 0, "### mem cache leaking entries?\n");
|
||||
NS_ASSERTION(mInactiveSize == 0, "### mem cache leaking entries?");
|
||||
NS_ASSERTION(mEntryCount == 0, "### mem cache leaking entries?");
|
||||
|
||||
mInitialized = PR_FALSE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче