Index: src/gpu/GrDefaultGeoProcFactory.h |
diff --git a/src/gpu/GrDefaultGeoProcFactory.h b/src/gpu/GrDefaultGeoProcFactory.h |
index 2d8055843f321855fc544f2e6ef9fcd1d107ea7b..bf2db40ecd030b31cdaaae20fa509aeafda296ab 100644 |
--- a/src/gpu/GrDefaultGeoProcFactory.h |
+++ b/src/gpu/GrDefaultGeoProcFactory.h |
@@ -107,11 +107,11 @@ namespace GrDefaultGeoProcFactory { |
kHasExplicit_Type, |
kHasTransformed_Type, |
}; |
- LocalCoords(Type type) : fType(type), fMatrix(NULL) {} |
+ LocalCoords(Type type) : fType(type), fMatrix(nullptr) {} |
LocalCoords(Type type, const SkMatrix* matrix) : fType(type), fMatrix(matrix) { |
SkASSERT(kUnused_Type != type); |
} |
- bool hasLocalMatrix() const { return NULL != fMatrix; } |
+ bool hasLocalMatrix() const { return nullptr != fMatrix; } |
Type fType; |
const SkMatrix* fMatrix; |