Index: src/gpu/gl/debug/GrFrameBufferObj.h |
diff --git a/src/gpu/gl/debug/GrFrameBufferObj.h b/src/gpu/gl/debug/GrFrameBufferObj.h |
index 794450c136c9457846fac231cd4b351aca473399..42a0effe072fb11cb9f1d5593bd69ac2b8c12a1f 100644 |
--- a/src/gpu/gl/debug/GrFrameBufferObj.h |
+++ b/src/gpu/gl/debug/GrFrameBufferObj.h |
@@ -22,15 +22,15 @@ public: |
GrFrameBufferObj() |
: GrFakeRefObj() |
, fBound(false) |
- , fColorBuffer(NULL) |
- , fDepthBuffer(NULL) |
- , fStencilBuffer(NULL) { |
+ , fColorBuffer(nullptr) |
+ , fDepthBuffer(nullptr) |
+ , fStencilBuffer(nullptr) { |
} |
virtual ~GrFrameBufferObj() { |
- fColorBuffer = NULL; |
- fDepthBuffer = NULL; |
- fStencilBuffer = NULL; |
+ fColorBuffer = nullptr; |
+ fDepthBuffer = nullptr; |
+ fStencilBuffer = nullptr; |
} |
void setBound() { fBound = true; } |
@@ -48,9 +48,9 @@ public: |
void deleteAction() override { |
- setColor(NULL); |
- setDepth(NULL); |
- setStencil(NULL); |
+ setColor(nullptr); |
+ setDepth(nullptr); |
+ setStencil(nullptr); |
this->INHERITED::deleteAction(); |
} |