Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1101)

Unified Diff: src/core/SkMatrix.cpp

Issue 544233002: "NULL !=" = NULL (Closed) Base URL: https://skia.googlesource.com/skia.git@are
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkMaskGamma.h ('k') | src/core/SkMessageBus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « src/core/SkMaskGamma.h ('k') | src/core/SkMessageBus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698