Index: src/utils/SkCamera.cpp |
diff --git a/src/utils/SkCamera.cpp b/src/utils/SkCamera.cpp |
index c7389cefeb9b80d4e261b62a37b7fcc4caa3850c..c8c462a5f71a55cb6b0966c4317019192d835149 100644 |
--- a/src/utils/SkCamera.cpp |
+++ b/src/utils/SkCamera.cpp |
@@ -74,7 +74,7 @@ void SkPatch3D::reset() { |
} |
void SkPatch3D::transform(const SkMatrix3D& m, SkPatch3D* dst) const { |
- if (dst == NULL) { |
+ if (dst == nullptr) { |
dst = (SkPatch3D*)this; |
} |
m.mapVector(fU, &dst->fU); |
@@ -356,7 +356,7 @@ SkScalar Sk3DView::dotWithNormal(SkScalar x, SkScalar y, SkScalar z) const { |
} |
void Sk3DView::getMatrix(SkMatrix* matrix) const { |
- if (matrix != NULL) { |
+ if (matrix != nullptr) { |
SkPatch3D patch; |
patch.transform(fRec->fMatrix); |
fCamera.patchToMatrix(patch, matrix); |