Index: gm/ninepatchstretch.cpp |
diff --git a/gm/ninepatchstretch.cpp b/gm/ninepatchstretch.cpp |
index 267c41587b3aeb6b11ea9811618bce0a03c1fba5..4074add1bbec475e2070a4aad1b16973e67f49a5 100644 |
--- a/gm/ninepatchstretch.cpp |
+++ b/gm/ninepatchstretch.cpp |
@@ -70,7 +70,7 @@ protected: |
} |
void onDraw(SkCanvas* canvas) override { |
- if (NULL == fBitmap.pixelRef()) { |
+ if (nullptr == fBitmap.pixelRef()) { |
fImage.reset(make_image(canvas, &fCenter)); |
image_to_bitmap(fImage, &fBitmap); |
} |
@@ -85,7 +85,7 @@ protected: |
{ fixed * 4, fixed * 4 } |
}; |
- canvas->drawBitmap(fBitmap, 10, 10, NULL); |
+ canvas->drawBitmap(fBitmap, 10, 10, nullptr); |
SkScalar x = SkIntToScalar(100); |
SkScalar y = SkIntToScalar(100); |