Bug 1560119: Remove DOMMatrix scaleNonUniformSelf() r=bzbarsky

We probably just can remove it given that no other implementations are there.

Differential Revision: https://phabricator.services.mozilla.com/D36491
This commit is contained in:
Kagami Sascha Rosylight
2019-07-01 21:07:20 +00:00
parent cace7cc124
commit 12d38e7f2a
5 changed files with 2 additions and 33 deletions

View File

@@ -807,15 +807,6 @@ DOMMatrix* DOMMatrix::Scale3dSelf(double aScale, double aOriginX,
return this;
}
DOMMatrix* DOMMatrix::ScaleNonUniformSelf(double aScaleX, double aScaleY,
double aScaleZ, double aOriginX,
double aOriginY, double aOriginZ) {
ScaleSelf(aScaleX, Optional<double>(aScaleY), aScaleZ, aOriginX, aOriginY,
aOriginZ);
return this;
}
DOMMatrix* DOMMatrix::RotateFromVectorSelf(double aX, double aY) {
if (aX == 0.0 || aY == 0.0) {
return this;