Index: gm/imagefromyuvtextures.cpp |
diff --git a/gm/imagefromyuvtextures.cpp b/gm/imagefromyuvtextures.cpp |
index 68faf801c628e48cee6784752c7823285a436cc2..faa3eefa7e5006c9a509ed27524ec18083051485 100644 |
--- a/gm/imagefromyuvtextures.cpp |
+++ b/gm/imagefromyuvtextures.cpp |
@@ -41,7 +41,7 @@ protected: |
static const SkColor kColors[] = |
{ SK_ColorBLUE, SK_ColorYELLOW, SK_ColorGREEN, SK_ColorWHITE }; |
paint.setShader(SkGradientShader::CreateRadial(SkPoint::Make(0,0), kBmpSize / 2.f, kColors, |
- NULL, SK_ARRAY_COUNT(kColors), |
+ nullptr, SK_ARRAY_COUNT(kColors), |
SkShader::kMirror_TileMode))->unref(); |
SkBitmap rgbBmp; |
rgbBmp.allocN32Pixels(kBmpSize, kBmpSize, true); |
@@ -156,7 +156,7 @@ protected: |
canvas->drawImage(images[i], x, y); |
images[i]->unref(); |
- images[i] = NULL; |
+ images[i] = nullptr; |
} |
} |