Bug 375387 - make gfxMatrix::IsSingular const. r+sr=pavlov

This commit is contained in:
longsonr@gmail.com 2007-03-27 04:07:10 -07:00
Родитель 12431cf555
Коммит 9bca90d7e5
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -114,7 +114,7 @@ public:
/**
* Check if matrix is singular (no inverse exists).
*/
PRBool IsSingular() {
PRBool IsSingular() const {
// if the determinant (ad - bc) is zero it's singular
return (xx * yy) == (yx * xy);
}