Index: src/core/SkLocalMatrixShader.cpp |
diff --git a/src/core/SkLocalMatrixShader.cpp b/src/core/SkLocalMatrixShader.cpp |
index b9a0960873799c2f06e3e0f95e10ae182bca1ab7..ce5a7cad713a22f00992a6054ef5c0041712b4ad 100644 |
--- a/src/core/SkLocalMatrixShader.cpp |
+++ b/src/core/SkLocalMatrixShader.cpp |
@@ -12,7 +12,7 @@ SkFlattenable* SkLocalMatrixShader::CreateProc(SkReadBuffer& buffer) { |
buffer.readMatrix(&lm); |
SkAutoTUnref<SkShader> shader(buffer.readShader()); |
if (!shader.get()) { |
- return NULL; |
+ return nullptr; |
} |
return SkShader::CreateLocalMatrixShader(shader, lm); |
} |
@@ -48,8 +48,8 @@ void SkLocalMatrixShader::toString(SkString* str) const { |
#endif |
SkShader* SkShader::CreateLocalMatrixShader(SkShader* proxy, const SkMatrix& localMatrix) { |
- if (NULL == proxy) { |
- return NULL; |
+ if (nullptr == proxy) { |
+ return nullptr; |
} |
if (localMatrix.isIdentity()) { |