Index: src/gpu/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp |
index f2f9563f26c1312f1fc54b49e0265340e1b4fab0..e102db27a09c22e3a4cb7b3ef90d8cff6150d170 100644 |
--- a/src/gpu/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp |
@@ -622,7 +622,7 @@ bool GrAAHairLinePathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const |
return false; |
} |
- if (!IsStrokeHairlineOrEquivalent(*args.fStroke, *args.fViewMatrix, NULL)) { |
+ if (!IsStrokeHairlineOrEquivalent(*args.fStroke, *args.fViewMatrix, nullptr)) { |
return false; |
} |
@@ -798,8 +798,8 @@ void AAHairlineBatch::onPrepareDraws(Target* target) { |
bool hasPerspective = this->viewMatrix().hasPerspective(); |
const SkMatrix* geometryProcessorViewM = &SkMatrix::I(); |
const SkMatrix* geometryProcessorLocalM = &invert; |
- const SkMatrix* toDevice = NULL; |
- const SkMatrix* toSrc = NULL; |
+ const SkMatrix* toDevice = nullptr; |
+ const SkMatrix* toSrc = nullptr; |
if (hasPerspective) { |
geometryProcessorViewM = &this->viewMatrix(); |
geometryProcessorLocalM = &SkMatrix::I(); |