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

Unified Diff: src/utils/SkCamera.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 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/utils/SkBoundaryPatch.cpp ('k') | src/utils/SkCanvasStateUtils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/utils/SkBoundaryPatch.cpp ('k') | src/utils/SkCanvasStateUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698