Bug 724703 - Mark a couple more functions on SVGLengthList as const. r=dholbert

This commit is contained in:
Cameron McCormack 2012-02-07 10:49:08 +11:00
Родитель f6921691c3
Коммит a41a53c13c
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -339,12 +339,12 @@ public:
mList = nsnull;
}
PRUint32 Length() {
PRUint32 Length() const {
return mList ? mList->Length() : 0;
}
/// This may return a non-finite value
float operator[](PRUint32 aIndex) {
float operator[](PRUint32 aIndex) const {
return (*mList)[aIndex].GetValueInUserUnits(mElement, mAxis);
}