| Index: gm/bitmaprect.cpp
|
| diff --git a/gm/bitmaprect.cpp b/gm/bitmaprect.cpp
|
| index cfceab5af945e55710fb36c4fc1da9c6bae55ba2..077f0ee273e0b2bcec01120604ac37bb82f2c59d 100644
|
| --- a/gm/bitmaprect.cpp
|
| +++ b/gm/bitmaprect.cpp
|
| @@ -23,7 +23,7 @@ static void make_bitmap(SkBitmap* bitmap) {
|
| paint.setAntiAlias(true);
|
| const SkPoint pts[] = { { 0, 0 }, { 64, 64 } };
|
| const SkColor colors[] = { SK_ColorWHITE, SK_ColorBLUE };
|
| - paint.setShader(SkGradientShader::CreateLinear(pts, colors, NULL, 2,
|
| + paint.setShader(SkGradientShader::CreateLinear(pts, colors, nullptr, 2,
|
| SkShader::kClamp_TileMode))->unref();
|
| canvas.drawCircle(32, 32, 32, paint);
|
| }
|
|
|