зеркало из https://github.com/mozilla/gecko-dev.git
Bug 724703 - Mark a couple more functions on SVGLengthList as const. r=dholbert
This commit is contained in:
Родитель
f6921691c3
Коммит
a41a53c13c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче