aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkMatrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkMatrix.cpp')
-rw-r--r--src/core/SkMatrix.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/SkMatrix.cpp b/src/core/SkMatrix.cpp
index 31a8e374a5..d420dd3b92 100644
--- a/src/core/SkMatrix.cpp
+++ b/src/core/SkMatrix.cpp
@@ -888,7 +888,6 @@ bool SkMatrix::invertNonIdentity(SkMatrix* inv) const {
TypeMask mask = this->getType();
-#ifndef SK_IGNORE_FAST_SCALEMATRIX_INVERT
if (0 == (mask & ~(kScale_Mask | kTranslate_Mask))) {
bool invertible = true;
if (inv) {
@@ -925,7 +924,6 @@ bool SkMatrix::invertNonIdentity(SkMatrix* inv) const {
}
return invertible;
}
-#endif
int isPersp = mask & kPerspective_Mask;
int shift;