Index: gm/beziereffects.cpp |
diff --git a/gm/beziereffects.cpp b/gm/beziereffects.cpp |
index 9edc11411ad1c026826a22690d4f1554f2081fed..ff75f74c669cb0ed16a98bc0daf10f918b11c357 100644 |
--- a/gm/beziereffects.cpp |
+++ b/gm/beziereffects.cpp |
@@ -121,12 +121,12 @@ protected: |
void onDraw(SkCanvas* canvas) override { |
GrRenderTarget* rt = canvas->internal_private_accessTopLayerRenderTarget(); |
- if (NULL == rt) { |
+ if (nullptr == rt) { |
this->drawGpuOnlyMessage(canvas); |
return; |
} |
GrContext* context = rt->getContext(); |
- if (NULL == context) { |
+ if (nullptr == context) { |
return; |
} |
@@ -159,7 +159,7 @@ protected: |
{ // scope to contain GrTestTarget |
GrTestTarget tt; |
context->getTestTarget(&tt); |
- if (NULL == tt.target()) { |
+ if (nullptr == tt.target()) { |
continue; |
} |
GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType; |
@@ -269,12 +269,12 @@ protected: |
void onDraw(SkCanvas* canvas) override { |
GrRenderTarget* rt = canvas->internal_private_accessTopLayerRenderTarget(); |
- if (NULL == rt) { |
+ if (nullptr == rt) { |
this->drawGpuOnlyMessage(canvas); |
return; |
} |
GrContext* context = rt->getContext(); |
- if (NULL == context) { |
+ if (nullptr == context) { |
return; |
} |
@@ -307,7 +307,7 @@ protected: |
{ // scope to contain GrTestTarget |
GrTestTarget tt; |
context->getTestTarget(&tt); |
- if (NULL == tt.target()) { |
+ if (nullptr == tt.target()) { |
continue; |
} |
GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType; |
@@ -512,12 +512,12 @@ protected: |
void onDraw(SkCanvas* canvas) override { |
GrRenderTarget* rt = canvas->internal_private_accessTopLayerRenderTarget(); |
- if (NULL == rt) { |
+ if (nullptr == rt) { |
this->drawGpuOnlyMessage(canvas); |
return; |
} |
GrContext* context = rt->getContext(); |
- if (NULL == context) { |
+ if (nullptr == context) { |
return; |
} |
@@ -548,7 +548,7 @@ protected: |
{ // scope to contain GrTestTarget |
GrTestTarget tt; |
context->getTestTarget(&tt); |
- if (NULL == tt.target()) { |
+ if (nullptr == tt.target()) { |
continue; |
} |
GrPrimitiveEdgeType et = (GrPrimitiveEdgeType)edgeType; |