diff options
Diffstat (limited to 'src/core/SkLocalMatrixShader.cpp')
-rw-r--r-- | src/core/SkLocalMatrixShader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkLocalMatrixShader.cpp b/src/core/SkLocalMatrixShader.cpp index b9a0960873..ce5a7cad71 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()) { |