Index: gm/dcshader.cpp |
diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp |
index e0cb2d714f983903bdd61b4197c3f8b31ae0121e..3eee43d1474cb058c336bdf770550cd870049cc7 100644 |
--- a/gm/dcshader.cpp |
+++ b/gm/dcshader.cpp |
@@ -226,7 +226,7 @@ protected: |
void onDraw(SkCanvas* canvas) override { |
// This GM exists to test a specific feature of the GPU backend. It does not work with the |
// sw rasterizer, tile modes, etc. |
- if (NULL == canvas->getGrContext()) { |
+ if (nullptr == canvas->getGrContext()) { |
this->drawGpuOnlyMessage(canvas); |
return; |
} |