begin to implement AVI on tree view, 315940. Also make sure nsNavHistory.cpp compiles on VC6 (316896, r=brettw) NOT PART OF BUILD

Original committer: beng%bengoodger.com
Original revision: 1.2
Original date: 2005/11/17 23:05:35
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 16:57:50 +00:00
Родитель 0dadb0e452
Коммит c587ea3577
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -355,11 +355,11 @@ class GroupingQueryList
{
public:
PRInt32* mItems;
static const PRInt32 mMaxGroups = 32;
static const PRInt32 sMaxGroups;
PRInt32 mGroupCount;
GroupingQueryList() : mGroupCount(0)
{
mItems = new PRInt32[mMaxGroups];
mItems = new PRInt32[sMaxGroups];
}
~GroupingQueryList()
{
@ -368,7 +368,7 @@ public:
}
void Add(PRInt32 g)
{
if (mGroupCount < mMaxGroups) {
if (mGroupCount < sMaxGroups) {
mItems[mGroupCount] = g;
mGroupCount ++;
} else {
@ -377,6 +377,7 @@ public:
}
};
const PRInt32 GroupingQueryList::sMaxGroups = 32;
// TokensToQueries