Index: src/core/SkMatrix.cpp |
diff --git a/src/core/SkMatrix.cpp b/src/core/SkMatrix.cpp |
index 814f16a5ea4e6e247b010db07db984cb12c5e623..2a295870ddee6d6f7a5538d3a62c42a2f21e062a 100644 |
--- a/src/core/SkMatrix.cpp |
+++ b/src/core/SkMatrix.cpp |
@@ -1766,15 +1766,15 @@ bool SkDecomposeUpper2x2(const SkMatrix& matrix, |
sin1 = -sin1; |
} |
- if (NULL != scale) { |
+ if (scale) { |
scale->fX = SkDoubleToScalar(w1); |
scale->fY = SkDoubleToScalar(w2); |
} |
- if (NULL != rotation1) { |
+ if (rotation1) { |
rotation1->fX = cos1; |
rotation1->fY = sin1; |
} |
- if (NULL != rotation2) { |
+ if (rotation2) { |
rotation2->fX = cos2; |
rotation2->fY = sin2; |
} |