Index: src/gpu/GrSurface.cpp |
diff --git a/src/gpu/GrSurface.cpp b/src/gpu/GrSurface.cpp |
index 89cbf4a5460679fad26d154bc017126a84f168c8..a7be0f47d96cdb890c159623843e6c861a9face5 100644 |
--- a/src/gpu/GrSurface.cpp |
+++ b/src/gpu/GrSurface.cpp |
@@ -96,7 +96,7 @@ bool GrSurface::writePixels(int left, int top, int width, int height, |
uint32_t pixelOpsFlags) { |
// go through context so that all necessary flushing occurs |
GrContext* context = this->getContext(); |
- if (NULL == context) { |
+ if (nullptr == context) { |
return false; |
} |
return context->writeSurfacePixels(this, left, top, width, height, config, buffer, rowBytes, |
@@ -108,7 +108,7 @@ bool GrSurface::readPixels(int left, int top, int width, int height, |
uint32_t pixelOpsFlags) { |
// go through context so that all necessary flushing occurs |
GrContext* context = this->getContext(); |
- if (NULL == context) { |
+ if (nullptr == context) { |
return false; |
} |
return context->readSurfacePixels(this, left, top, width, height, config, buffer, |