Index: src/core/SkMatrix.cpp |
diff --git a/src/core/SkMatrix.cpp b/src/core/SkMatrix.cpp |
index 4b11fdf331ae159efb1aec34f3773d7525b832bf..7ae4ed21eb4cbd78dcbafaed0694816782f4173b 100644 |
--- a/src/core/SkMatrix.cpp |
+++ b/src/core/SkMatrix.cpp |
@@ -380,7 +380,6 @@ void SkMatrix::preScale(SkScalar sx, SkScalar sy) { |
fMat[kMScaleY] *= sy; |
fMat[kMPersp1] *= sy; |
-#ifndef SK_SUPPORT_LEGACY_PRESCALE_SEMANTICS |
// Attempt to simplify our type when applying an inverse scale. |
// TODO: The persp/affine preconditions are in place to keep the mask consistent with |
// what computeTypeMask() would produce (persp/skew always implies kScale). |
@@ -391,9 +390,6 @@ void SkMatrix::preScale(SkScalar sx, SkScalar sy) { |
} else { |
this->orTypeMask(kScale_Mask); |
} |
-#else |
- this->orTypeMask(kScale_Mask); |
-#endif |
} |
void SkMatrix::postScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py) { |