Index: gm/rrects.cpp |
diff --git a/gm/rrects.cpp b/gm/rrects.cpp |
index f9a21db0f2ef8fea5026990de2a319105213af87..c4736c72221be1d6541fbd34b2ce43a35cdd557b 100644 |
--- a/gm/rrects.cpp |
+++ b/gm/rrects.cpp |
@@ -57,12 +57,12 @@ protected: |
SkISize onISize() override { return SkISize::Make(kImageWidth, kImageHeight); } |
void onDraw(SkCanvas* canvas) override { |
- GrContext* context = NULL; |
+ GrContext* context = nullptr; |
#if SK_SUPPORT_GPU |
GrRenderTarget* rt = canvas->internal_private_accessTopLayerRenderTarget(); |
- context = rt ? rt->getContext() : NULL; |
+ context = rt ? rt->getContext() : nullptr; |
#endif |
- if (kEffect_Type == fType && NULL == context) { |
+ if (kEffect_Type == fType && nullptr == context) { |
this->drawGpuOnlyMessage(canvas); |
return; |
} |
@@ -102,7 +102,7 @@ protected: |
#if SK_SUPPORT_GPU |
GrTestTarget tt; |
context->getTestTarget(&tt); |
- if (NULL == tt.target()) { |
+ if (nullptr == tt.target()) { |
SkDEBUGFAIL("Couldn't get Gr test target."); |
return; |
} |