| Index: samplecode/SampleBlur.cpp
|
| diff --git a/samplecode/SampleBlur.cpp b/samplecode/SampleBlur.cpp
|
| index 7607dfc9f33db6830c9be1fa78c4a692bebfe7cb..bd5ff475d793671a5e0f108bb91245dccdb3a9a5 100644
|
| --- a/samplecode/SampleBlur.cpp
|
| +++ b/samplecode/SampleBlur.cpp
|
| @@ -25,7 +25,7 @@ static SkBitmap make_bitmap() {
|
|
|
| bm.allocPixels(SkImageInfo::Make(256, 256, kIndex_8_SkColorType,
|
| kPremul_SkAlphaType),
|
| - NULL, ctable);
|
| + nullptr, ctable);
|
| ctable->unref();
|
|
|
| bm.lockPixels();
|
| @@ -104,7 +104,7 @@ protected:
|
| flags);
|
| paint.setMaskFilter(mf)->unref();
|
| } else {
|
| - paint.setMaskFilter(NULL);
|
| + paint.setMaskFilter(nullptr);
|
| }
|
| canvas->drawCircle(200 + gRecs[i].fCx*100.f,
|
| 200 + gRecs[i].fCy*100.f, 50, paint);
|
| @@ -120,7 +120,7 @@ protected:
|
| paint.setColor(SK_ColorBLACK);
|
| canvas->drawText("Hamburgefons Style", 18, x, y, paint);
|
| canvas->drawText("Hamburgefons Style", 18, x, y + SkIntToScalar(50), paint);
|
| - paint.setMaskFilter(NULL);
|
| + paint.setMaskFilter(nullptr);
|
| paint.setColor(SK_ColorWHITE);
|
| x -= SkIntToScalar(2);
|
| y -= SkIntToScalar(2);
|
|
|