зеркало из https://github.com/mozilla/gecko-dev.git
data structure types have changed, and move XP_ASSERT to PR_ASSERT
This commit is contained in:
Родитель
2a57747423
Коммит
8800ad9bef
|
@ -84,7 +84,7 @@ nsNNTPArticleList::Initialize(const nsIMsgNewsHost * newsHost,
|
||||||
#ifdef HAVE_NEWSDB
|
#ifdef HAVE_NEWSDB
|
||||||
m_newsDB = NULL;
|
m_newsDB = NULL;
|
||||||
#endif
|
#endif
|
||||||
m_idsOnServer.set = msg_NewsArtSet::Create();
|
m_idsOnServer.set = nsNNTPArticleSet::Create();
|
||||||
#ifdef HAVE_PANES
|
#ifdef HAVE_PANES
|
||||||
MSG_FolderInfoNews *newsFolder = m_pane->GetMaster()->FindNewsFolder(host, groupName, FALSE);
|
MSG_FolderInfoNews *newsFolder = m_pane->GetMaster()->FindNewsFolder(host, groupName, FALSE);
|
||||||
if (newsFolder)
|
if (newsFolder)
|
||||||
|
@ -148,7 +148,7 @@ nsNNTPArticleList::FinishAddingArticleKeys()
|
||||||
// make sure none of the deleted turned up on the idsOnServer list
|
// make sure none of the deleted turned up on the idsOnServer list
|
||||||
#ifdef DEBUG_bienvenu
|
#ifdef DEBUG_bienvenu
|
||||||
for (PRInt32 i = 0; i < m_idsDeleted.GetSize(); i++)
|
for (PRInt32 i = 0; i < m_idsDeleted.GetSize(); i++)
|
||||||
XP_ASSERT (!m_idsOnServer.set->IsMember(m_idsDeleted.GetAt(i)));
|
PR_ASSERT (!m_idsOnServer.set->IsMember(m_idsDeleted.GetAt(i)));
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче