Index: src/gpu/GrRenderTarget.cpp |
diff --git a/src/gpu/GrRenderTarget.cpp b/src/gpu/GrRenderTarget.cpp |
index 59a7ae5a2a72b73b4ec9f8d908de95370ab80d95..090834912a5540754fc9199214e5223daa308fe4 100644 |
--- a/src/gpu/GrRenderTarget.cpp |
+++ b/src/gpu/GrRenderTarget.cpp |
@@ -18,7 +18,7 @@ |
void GrRenderTarget::discard() { |
// go through context so that all necessary flushing occurs |
GrContext* context = this->getContext(); |
- GrDrawContext* drawContext = context ? context->drawContext() : NULL; |
+ GrDrawContext* drawContext = context ? context->drawContext() : nullptr; |
if (!drawContext) { |
return; |
} |
@@ -51,13 +51,13 @@ void GrRenderTarget::overrideResolveRect(const SkIRect rect) { |
} |
void GrRenderTarget::onRelease() { |
- this->renderTargetPriv().didAttachStencilAttachment(NULL); |
+ this->renderTargetPriv().didAttachStencilAttachment(nullptr); |
INHERITED::onRelease(); |
} |
void GrRenderTarget::onAbandon() { |
- this->renderTargetPriv().didAttachStencilAttachment(NULL); |
+ this->renderTargetPriv().didAttachStencilAttachment(nullptr); |
INHERITED::onAbandon(); |
} |