зеркало из https://github.com/mozilla/gecko-dev.git
Bug 772356 - Add an IsEmpty method to SVGUserUnitList. r=jwatt
This commit is contained in:
Родитель
6e530b797a
Коммит
004750fdbf
|
@ -308,6 +308,10 @@ public:
|
|||
mList = nsnull;
|
||||
}
|
||||
|
||||
bool IsEmpty() const {
|
||||
return !mList || mList->IsEmpty();
|
||||
}
|
||||
|
||||
PRUint32 Length() const {
|
||||
return mList ? mList->Length() : 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче