Bug 772356 - Add an IsEmpty method to SVGUserUnitList. r=jwatt

This commit is contained in:
Cameron McCormack 2012-07-10 18:16:35 +10:00
Родитель 6e530b797a
Коммит 004750fdbf
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -308,6 +308,10 @@ public:
mList = nsnull;
}
bool IsEmpty() const {
return !mList || mList->IsEmpty();
}
PRUint32 Length() const {
return mList ? mList->Length() : 0;
}